mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-07 16:33:08 +00:00
deploy: 58a6a3c8277209e107dacc389a765315e03221ce
This commit is contained in:
parent
76e593f76e
commit
5b869bdb42
@ -9,11 +9,11 @@ type Timestamp* = int64
|
||||
const TIMESTAMP_TABLE_TYPE* = "INTEGER"
|
||||
|
||||
proc getNanosecondTime*[T](timeInSeconds: T): Timestamp =
|
||||
var ns = Timestamp(timeInSeconds*100000000)
|
||||
var ns = Timestamp(timeInSeconds*1000_000_000)
|
||||
return ns
|
||||
|
||||
proc getMicrosecondTime*[T](timeInSeconds: T): Timestamp =
|
||||
var us = Timestamp(timeInSeconds*1000000)
|
||||
var us = Timestamp(timeInSeconds*1000_000)
|
||||
return us
|
||||
|
||||
proc getMillisecondTime*[T](timeInSeconds: T): Timestamp =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user