Re: How can I get UNIX in milliseconds format?
"Bertrand LUPART - Linkeo.com" <[email protected]> Thu, 25 Apr 2019 16:16:58 +0200
| Newsgroups | gmane.comp.lang.pike.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, > Basically as the subject suggests, I want to get UNIX in ms and not in s. > And no, multiplying in 1000 is not what I’m looking for because it’s not accurate at all. I guess you're talking about the epoch. You can get this value in microseconds : http://pike.lysator.liu.se/generated/manual/modref/ex/predef_3A_3A/System/Time.html > object t = System.Time(); t->sec; t->usec; t->usec_full; (1) Result: 1556201631 (2) Result: 393431 (3) Result: 1556201631393970 -- Bertrand LUPART
smime.p7s
(application/pkcs7-signature, 3.8 KB) - not displayed