Skip to main content

date

Function date 

Source
pub fn date(days: Int) -> Option<Protected<Vec<u8>>>
Expand description

A date’s day count since 1970-01-01, as the orderable bytes of its count of days from 0001-01-01 (the same bytes chrono’s NaiveDate orders by). None outside the date range.