JamesBowen 19+ years progress programming and still learning. Jul 3, 2017 #1 I have compliantly for gotten how to convert datetime to epoch (unix time) in ABL code. I know I have done it before but i just can't seam to find it.
I have compliantly for gotten how to convert datetime to epoch (unix time) in ABL code. I know I have done it before but i just can't seam to find it.
JamesBowen 19+ years progress programming and still learning. Jul 3, 2017 #2 Sorted it out! I remember now haven't been doing much ABL code lately. Code: define variable datetime1 as datetime no-undo. define variable epoch as int64 no-undo. datetime1 = datetime(1,1,1970,0,0,0,0). epoch = INTERVAL ( NOW, datetime1 , "seconds" ). message epoch.
Sorted it out! I remember now haven't been doing much ABL code lately. Code: define variable datetime1 as datetime no-undo. define variable epoch as int64 no-undo. datetime1 = datetime(1,1,1970,0,0,0,0). epoch = INTERVAL ( NOW, datetime1 , "seconds" ). message epoch.
RealHeavyDude Well-Known Member Jul 4, 2017 #3 "Everything you think you know is probably wrong." "I don't always test my code....But when I do, I do it in production." Click to expand... I like that one.
"Everything you think you know is probably wrong." "I don't always test my code....But when I do, I do it in production." Click to expand... I like that one.