DateTime Module
Helper functions for working with `DateTime` values.
Functions and values
| Function or value |
Description
|
|
|
Full Usage:
totalMonthsElapsed d1 d2
Parameters: Returns: float<MeasureProduct<month, MeasureOne>>
The fraction of years elapsed between the two dates
|
Calculates the fractional number of total months elapsed between two dates.
|
Full Usage:
totalYearsElapsed d1 d2
Parameters: Returns: float<MeasureProduct<year, MeasureOne>>
The fraction of years elapsed between the two dates
|
Calculates the years elapsed between two dates, from the earlier to the later date. The algorithm ignores leap year days (truncation occurs for the 29th Feburary).
|
|
bristlecone