[Gambas-user] [Gambas Bug Tracker] Bug #1321: Converting date to string behavior change between 3.10 and 3.11

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Wed May 16 22:22:51 CEST 2018


http://gambaswiki.org/bugtracker/edit?object=BUG.1321&from=L21haW4-

Comment #1 by Benoît MINISINI:

This was a bug fix.

Print Now <=> Print Str(Now)
dte = Now <=> dte = CStr(Now)

Which is not the same thing. The first uses local time, the second UTC time.

If you want local date conversion, you have to use the following functions: Str(), Val(), Format(), Date().

Benoît MINISINI changed the state of the bug to: Rejected.




More information about the User mailing list