[Gambas-user] CDate Documentation

BB adamnt42 at gmail.com
Tue Nov 15 03:38:40 CET 2022


@ everyone

Just in case everyone is cooling down, what's this?

Public Sub Main()

   Dim LunchDate As Date

   LunchDate = Date(2023, 5, 1, 12, 30, 0)
   Print Format(LunchDate, "ddd d mmm yy hh:nn t")

End

Outputs: *Mon 1 May 23 12:30 ACDT*

Here in South Aus it is currently late spring and daylight savings is in 
use. The TZ abbrev is ACDT.

But the 1st of May next year is NOT daylight saving time. It should 
print IMO *Mon 1 May 23 12:30 ACST*


😮

b

> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20221115/4dc7cd41/attachment-0001.htm>


More information about the User mailing list