[][src]Module cjdns_snode::utils::timestamp

Timestamp utilities

Functions

current_timestamp

Return current system time as cjdns timestamp

make_timestamp

Convert SystemTime to cjdns timestamp

mktime

Convert cjdns timestamp to SystemTime

time_diff

Compute duration between two timestamps. It does not matter which of these timestamps is earlier.