Forked from ralfbecher/QlikView_Julian_Date_Conversion.qvs
Last active
April 17, 2022 06:34
-
-
Save countnazgul/95184a2c70029d7eb539 to your computer and use it in GitHub Desktop.
[Julian Date to normal Date] Convert from Julian Date to normal Date (Gregorian) #qlik #qlikview #script
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
// 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