Function compute_date
Source pub fn compute_date(days_since_epoch: u64) -> (u64, u64, u64)
Expand description
Computes the year, month, and day from days since Unix epoch (1970-01-01).
§Arguments
u64 - Number of days since Unix epoch.
§Returns
(u64, u64, u64) - Tuple containing year, month and day.