Skip to content

Instantly share code, notes, and snippets.

@ralfbecher
Created June 10, 2014 12:12
Show Gist options
  • Save ralfbecher/9413792fe70c8ad02071 to your computer and use it in GitHub Desktop.
Save ralfbecher/9413792fe70c8ad02071 to your computer and use it in GitHub Desktop.
QlikView Julian Date Conversion
// 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