fn.dateTime( arg1 as Date, arg2 as (Number|String) ) as Date
Returns an xs:dateTime value created by combining an xs:date and an xs:time.
The timezone of the result is computed as follows:
Parameters | |
---|---|
arg1 | The date to be combined with the time argument. |
arg2 | The time to be combined with the date argument. |
fn.dateTime(xs.date('2008-02-01'), xs.time('10:25:00')) => 2008-02-01T10:25:00
fn.dateTime(xs.date('2008-02-01'), xs.time('10:25:00+02:00')) => 2008-02-01T10:25:00+02:00
fn.dateTime(xs.date('2010-12-01+04:00'), xs.time('11:45:20')) => 2010-12-01T11:45:20+04:00