[Gambas-bugtracker] Bug #1876: Datechooser returns a date 1 day less

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Tue Sep 8 12:08:59 CEST 2020


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

Comment #1 by Martín BELMONTE:

Ok, there is no error in the Datechoser control but in the treatment of the data that it provides.
DateChoser actually returns a single number that needs to be decoded, here's an example.
TextBox1.Text = Format (DateChooser1.Value, "yyyy.mm.dd")
Format allows us to extract the data correctly, that is, the Year, the month and the day.
I think that with this the issue is SOLVED.
Regards.




More information about the Bugtracker mailing list