Test case for days-from-date() function ignores hours, minutes, and seconds components 7.10.2.a days-from-date() function ignores hours, minutes, and seconds components You should see 4 for the days-from-date('1970-01-05T01:01:01.01Z'). days-from-date('1970-01-05T01:01:01.01Z') :