Is there a possibility to get the time difference of the local time (what I get e.g. with today's date) to GMT? Right now this would be -0200 for the German time zone.
I get a GMT time as input and want to convert this time to local time.
Thanks
Hi Georg,
to adapt dates to time zones the move date operator seems handy, as it enables you to add/subtract offsets to dates.
What's not possible, however, is a user's time zone. There is no way for MashZone to detect which time zone is set for the machine which displays a MashApp.
As long as the time zone is constant (and known) you may add user input field to your feed and populate it with a (hidden) constant. Starting with MashZone 2.2 you may inject such information from outside, i.e. when invoking the MashApp via an URL parameter.
Regards
Stephan
Hi Stephan,
thanks for the hints. Yes, the move date operator is handy.
After a while I found out, that the solution for me is to let the database convert the GMT/UTC time to local time. I havn't sorted out yet, if the performance is still acceptable for high volumnes.
Kind regards
Georg