[Gambas-user] Date formats

Juan Jose Costello Levien jclevien at ...626...
Sun May 18 22:27:07 CEST 2008


Hello Paul,

I suppose you are looking for CDate? (
http://gambasdoc.org/help/lang/cdate?v3)


Juan


On Sun, May 18, 2008 at 5:04 PM, Paul Horechuk <horechuk at ...981...> wrote:

> Is there a way to set the way the Date command interprets a string
> argument?
> In other words: If I say
> ? Date("05/15/08"), I get 15/05/08
> If instead I say
> ? Date("15/05/08", I get an error:
> Type mismatch: wanted Date, got String instead.
> This appears to be a little counter-intuitive.
> I'm looking for a setting such as DATEFORMAT=DMY. Is there such a setting
> for
> GAMBAS?
> I'm using Gambas3 on a Kubuntu/Feisty 64 bit.
> $LANG is set to en_CA.UTF-8.
> --
> -- Paul Horechuk
> Think Free
> Use Open Source Software
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Juan Jose Costello Levien
jclevien at ...626...



More information about the User mailing list