Am 26.03.2017 um 22:14 schrieb Bruno LEGAY via 4D_Tech <[email protected]>:
> 
> Avoid using Date() to convert a string to a date because this will rely on 
> the date being formatted according to you current system setting...

Yes and no…

Using DATE() with an ISO Timestring (2017-03-23T22:15:22Z) as returned by 
string(date;ISO Date;time) is safe across all system settings.

For this reason I NEVER use any other date-time string format internally, local 
formats are only used for input and display. never for storage.
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to