yeardecimal

yeardecimal(date)

Convert a Date or DateTime or a string representation of them to decimal years, or vice-versa. That is, convert from decimal year to DateTime.

Example

yeardecimal(now())

Source Code

This function has multiple methods:

See Also