date-from-datetime

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  Functions > Function Library Reference > lang | datetime functions >

date-from-datetime

Result is the date part of a datetime input argument. The time part of the dateTime, starting with T in the instance document, is set to zero. Note that the timezone increment is not changed.

fn-datefromdatetime

E.g. Instance document datetime:

departuredatetime="2001-12-17T09:30:02+05:00"

 

Result:

departuredatetime="2001-12-17T00:00:00+05:00"


© 2019 Altova GmbH