Upon serializing a structure which contains a datetime outsystems subtracts 4 hours from that particular attribute. Is this normal behavior in outsystems for on premise ? Yes I do understand I can handle it by adding fours but all in all i'm looking for a solution what will fix everything regardless my timezone.For example I have dob which is "2000-10-10 20:27:18.070" upon serializing it get converted to "2000-10-10T16:27:18.07Z" Please note that my timezone is : UTC+4
Gulf Standard Time
Time zone in United Arab Emirates (GMT+4)Because when serialize and store text in a table it's always four hours behind which I noticed. Also will enabling JSON Serialize consistency opt-in in the platform server help solve this issue ? Any documentation or question related to this topic will be greatly helpful
When you serialize a DateTime to JSON, this is by default stored as UTC time, when deserializing this will be converted back to the local Server time.