Created
May 16, 2016 15:47
-
-
Save ralfbecher/aeea42cc9ad58fbb6aded0e0f907ddaf to your computer and use it in GitHub Desktop.
JavaScript function to get QlikView or Qlik Sense numerical Date value from JavaScript Date
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
function qlikNumberFromDate(d) { | |
return d.getTime() / 86400000 + 25569; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment