string days-to-date(number)
This function returns a string containing a lexical xsd:date that corresponds to the number of days passed as the parameter according to the following rules:
- The number parameter is rounded to the nearest whole number.
- The result is interpreted as the difference between the desired date and
1970-01-01. - An input parameter value of
NaNresults in output of the empty string.
Examples:
days-to-date(11688)
returns 2002-01-01
days-to-date(-1)
returns 1969-12-31

Recent comments
13 weeks 3 days ago
15 weeks 2 days ago
22 weeks 2 days ago
46 weeks 3 hours ago
1 year 3 weeks ago
2 years 2 weeks ago
2 years 2 weeks ago
2 years 6 weeks ago
2 years 7 weeks ago
2 years 7 weeks ago