aarongough
14 years agoVisitor
Timestamp issues
Hey all.
I'm having weird issues with timestamps in Brightscript.
As I understand it you get a timestamp in Brightscript like so:
But when I do this I get values like: 1.311792e+09
Is there any way to get a sane unix timestamp on the Roku?
Thanks.
-A
I'm having weird issues with timestamps in Brightscript.
As I understand it you get a timestamp in Brightscript like so:
dt = createObject("roDateTime")
dt.mark()
print str(dt.asSeconds())
But when I do this I get values like: 1.311792e+09
Is there any way to get a sane unix timestamp on the Roku?
Thanks.
-A