Fixed incorrect conversion from a calendar with timezone support to an xsd:dateTime instance in functions/now and functions/datetimeDelay.