[Gambas-user] False Documentation for Date

Laurent Carlier lordheavy at ...512...
Mon Feb 6 12:06:33 CET 2006


Le Lundi 6 Février 2006 11:49, Eilert a écrit :
> In the help for the date function "WeekDay" the numbers in the example
> seems to be false:
>
> On my system, Sunday returns "0", not "7". So it seems to count like on
> American calendars. Does this depend on local settings, or can I rely on
> it staying this way?
>
> Rolf
>

Perhaps it's better to use predefined constants like gb.Sunday instead of 0 or 
7 ? 
Does it work with predefined constants ?

Regards,

-- 
jabber : lordheavy at ...943...
mail : lordheavymREMOVEME at ...626...





More information about the User mailing list