Page 1 of 1

Getting time (milliseconds) in LCB

Posted: Sat Nov 07, 2026 7:40 pm
by pklum
Hi,
I have tried to get the milliseconds in LCB, but failed every atempt.
How do I get milliseconds or seconds in the best way?

Best Regards
Peter

Re: Getting time (milliseconds) in LCB

Posted: Sun Nov 08, 2026 12:33 am
by Emily-Elizabeth
You'd have to do some math, but looks like there is a function to get the seconds from the epoch

https://docs.livecode.com/docs/LiveCode ... versalTime