Created
June 10, 2014 12:12
-
-
Save ralfbecher/9413792fe70c8ad02071 to your computer and use it in GitHub Desktop.
QlikView Julian Date Conversion
This file contains hidden or 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
// to convert from Julian Date to normal Date (Gregorian) | |
// subtract the offset 2415019 (equivalent to 30.12.1899, which is day 0 in QlikView): | |
Date(JulianDateField - 2415019) | |
//You probaly have to adjust the timezone since Julian Date is in UTC. | |
// to convert from normal Date (Gregorian) to Julian Date | |
// add the offset 2415019 (equivalent to 30.12.1899, which is day 0 in QlikView): | |
Num(NormalDateField + 2415019) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment