Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 83468

Timezone entity / Day Light Savings issues

$
0
0
Hi, In our app we are using the System.TimeZone entity (rawoffset attribute) to create a time in the users timezone… All was working fine until Daylight Savings Times kicked in. It would appear that the timezone table remains static through (I’m sure with good reason) My question is, is there any function / method for doing this programatically? I don’t want to have to flag which countries have DST and check the dates to see if DST is active each time… For example: We’d like a cut off time of 4:30pm in the users timezone so we store that as a non localised value i.e. 2020-07-07 16:30:00 UTC So for the user we create a cut of date based on their timezone e.g. Spanish User not in DST date would be 2020-07-07 15:30:00 UTC (GMT +1) Spanish User in DST date would be 2020-07-07 14:30:00 UTC (GMT +2) The later is not happening as it doesn’t appear to take DST into account... Hope this makes sense? Help much appreciated

Viewing all articles
Browse latest Browse all 83468

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>