Good Morning!
Trying to execute, new Date().toISOString(), I just get a Date string along with Time Zone, etc.
I'm not getting something like, '2011-10-05T14:48:00.000Z'
Am I missing something?
thanks,
--Joe.
=>plugins.UserManager.Server().locale;
"English (Australia)"
=>new Date()
Fri Apr 23 08:17:57 AEST 2021
=>importDate = new Date()
Fri Apr 23 08:19:04 AEST 2021
=>importDateRaw = importDate
Fri Apr 23 08:19:04 AEST 2021
#assignment to another variable is fine. Change it to a string, and it comes back to my local system even when it is set to Sydney as well.
=>importDateRaw.toString()
"Thu Apr 22 2021 17:19:04 GMT-0500 (GMT-05:00)"
Return to Programming with Servoy
Users browsing this forum: No registered users and 9 guests