Module time_conversion

Source
Expand description

Conversions between the XRP Ledger’s ‘Ripple Epoch’ time and native time data types.

Constants§

MAX_XRPL_TIME
The maximum time that can be expressed on the XRPL
RIPPLE_EPOCH
The “Ripple Epoch” of 2000-01-01T00:00:00 UTC

Functions§

posix_to_ripple_time
Convert from a POSIX-like timestamp to an XRP Ledger ‘Ripple Epoch’ time.
ripple_time_to_posix
Convert from XRP Ledger ‘Ripple Epoch’ time to a POSIX-like integer timestamp.