Re: Selection to JSON Date Conversion

2018-10-10 Thread Douglas Cryer via 4D_Tech
Helge, Re: use SET DATABASE PARAMETER([Booking];JSON use local time;0) // scope current process before the json command. Many thanks, that is exactly what I was looking for __. I had already post parsed everything to fix the dates. It has little impact and removes the

Re: Selection to JSON Date Conversion

2018-10-10 Thread Douglas Cryer via 4D_Tech
Miyako, Based on your reply it looks like I have to accept that I will either have to write my own version of Selection to JSON or I will have to post parse the resulting dates to correct them at least while I am still on v15 4D. I have already seen the impact of setting the "Dates inside

Re: Selection to JSON Date Conversion

2018-10-10 Thread 4dialog via 4D_Tech
use SET DATABASE PARAMETER([Booking];JSON use local time;0) // scope current prosess before the json command. - Hilsen -- Helge Antonsen www.4dialog.no -- Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html

Re: Selection to JSON Date Conversion

2018-10-09 Thread Patrick Emanuel via 4D_Tech
is that helpfull ? 4D-Forum disucssion - Patrick EMANUEL Administrator www.association-qualisoft.eu (Soft1002, Simply Asso & QS_Toolbox) -- Sent from:

Re: Selection to JSON Date Conversion

2018-10-09 Thread Keisuke Miyako via 4D_Tech
they way 4D - JSON date conversion works is that you get back what to put in, so you need not care what the internal storage looks like. 18/05/2018! (implied midnight local time) may be stored as the day before in stringify'd UTC, but when you read the date back in 4D language (OB Get) you get

Selection to JSON Date Conversion

2018-10-09 Thread Douglas Cryer via 4D_Tech
Help, I have just hit a problem with Selection to JSON that has me floored and I am hoping somebody can point me to missing setting or to my ignorance. When including date fields in a template and using it with Selection to JSON dates that fall inside of BST the dates are being corrupted by