Last active
December 15, 2015 19:58
-
-
Save ralfbecher/5314794 to your computer and use it in GitHub Desktop.
Convert from a Unix timestamp to the local time in QlikView
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Solution 1: | |
Timestamp = ConvertToLocalTime(Date(MakeDate(1970, 1, 1) + (<timestamp_field> / 86400)), '<time_zone>') | |
// Solution 2: | |
Timestamp = ConvertToLocalTime(Date(25569 + (<timestamp_field> / 86400)), '<time_zone>') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment