Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Custom data type for timestamps (milliseconds since 1970)
Synopsis
Documentation
data ULIDTimeStamp Source #
UNIX time in milliseconds
Instances
:: POSIXTime | Specified UNIX time with millisecond precision (e.g. 1469918176.385) |
-> ULIDTimeStamp |
Generate a ULID Timestamp based on a specified time
getULIDTimeStamp :: IO ULIDTimeStamp Source #
Generate a ULID Timestamp based on current system UNIX time