NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: osquiabro on December 29, 2020, 05:11:35 PM
-
how i can convert this "2019-05-13T12:34:56Z" in seconds
i try this stringtheory example but don't what is (s)
dfmt StringDeformat
r real
d long
t long
code
r = dfmt.DeformatUnixTimeStamp('1 Jan 2019 T 11:55am')
t = dfmt.DeformatUnixTimeStamp(s)
d = dfmt.DeformatUnixTimeStamp(s)
-
You might try playing with the example program in the Examples\StringTheory3\Formatting folder.
-
That example should read;
dfmt StringDeformat
r real
d long
t long
code
r = dfmt.DeformatUnixTimeStamp('1 Jan 2019 T 11:55am')
t = dfmt.DeformatUnixTimeStamp(r)
d = dfmt.DeformatUnixTimeStamp(r)
cheers
Bruce