Module dates

Source
Expand description

Contains date parsing functions for iMessage dates.

Most dates are stored as nanosecond-precision unix timestamps with an epoch of 1/1/2001 00:00:00 in the local time zone.

Constants§

TIMESTAMP_FACTOR

Functions§

format
Format a date from the iMessage table for reading
get_local_time
Create a DateTime<Local> from an arbitrary date and offset
get_offset
Get the date offset for the iMessage Database
readable_diff
Generate a readable diff from two local timestamps.