[Gambas-bugtracker] Bug #2859: Date(Now) also gives 00:00:00 as time

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Thu Feb 8 17:11:48 CET 2024


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

Comment #1 by Bruce STEERS:

Aah i see what's happening, it's a datatype issue.

I concluded this is a result of obtaining/printing the results of Date(Now) directly.

I altered the wiki to state that using Date(Now) syntax does return the date with no time but it returns the Date datatype which does have a time field although it is zeroed and the Date(Now) results must be put to a String datatype first to truly omit the time.

Bruce STEERS changed the state of the bug to: Invalid.




More information about the Bugtracker mailing list