DateTimeUtils
do- edited this page Aug 27, 2023
·
1 revision
This helper module exports lightweight functions related to date and time formatting.
This synchronous function takes the string representing the number of days since 1900-01-01
and returns the YYYY-MM-DD
string representing the corresponding date.
For any NaN argument, null
is returned.
This synchronous function takes the string representing the fraction of day as a non negative float number less than '1.0' and returns the HH:MI:SS
string representing the corresponding time.
For any NaN argument, null
is returned.