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

How to get UTC timestamps from OQL

$
0
0

I'm getting some timestamps using OQL, which returns a pretty nasty format: 

"Mon Dec 04 09:00:00 CET 2017"

However, that's not the biggest problem. The problem is that it will always be in server time, which causes that:

  • Locally, people get different results based on their timezone;
  • Due to summertime, you don't know Mendix' offset to UTC and thus are unable to dynamically convert it to another timezone.
  • The abbreviation seems rather useless in conversion, since it's not a unique identifier.

 

Therefore, I would really like to get the UTC timestamp, rather than in the server time zone. Any chance?


Viewing all articles
Browse latest Browse all 82391

Trending Articles



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