I'm trying date time conversion using the https://github.com/juxt/https://github.com/juxt/tick 1. the date-time to long 2. then convert back to date time, but while
(tick.core/long (tick.core/now))
=> 1671913688
(DateTime. 1671913688)
=> #clj-time/date-time"1970-01-20T08:25:13.688Z"
But while i am doing this is always getting 1970-01-20T08:25:13.688Z wrong timestamp, can anyone please help me with this problemHi All From the https://github.com/juxt/tick how can i get the datetime in the millisecond
(* (tick.core/long (tick.core/now)) 1000)
=> 1671915244000
Do i need to multiply by 1000 each time or is there any other way?you don't need tick to get the current millis, just use
(System/currentTimeMillis)Given this is a major holiday weekend for most folks, you'll probably not get an answer for a few days. Be patient (and don't cross post questions to multiple channels please).