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
var engine_js = { | |
"ErrorCode.-128": "Internal engine error", | |
"ErrorCode.-1": "Unknown error", | |
"ErrorCode.0": "Unknown error", | |
"ErrorCode.1": "Some data is not correctly specified.", | |
"ErrorCode.2": "The resource could not be found.", | |
"ErrorCode.3": "Resource already exists.", | |
"ErrorCode.4": "Invalid path", | |
"ErrorCode.5": "Access is denied", | |
"ErrorCode.6": "The system is out of memory.", |
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): |
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
LET t1 = (num(timestamp#('2013-01-11 18:00:00', 'yyyy-mm-dd hh:mm:ss')) - 25569) * 86400; | |
LET t2 = (num(Now(1) - 25569) * 86400; |