datetime-from-parts Print this Topic Previous Page Up One Level Next page

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


Result is a datetime built from any combination of the following parts as arguments: year, month, day, hour, minute, second, millisecond, and timezone. This function automatically normalizes the supplied parameters e.g. 32nd of January will automatically be changed to 1st February.


All of the arguments are of type xs:int except for millisecond, which is of type xs:decimal. The datetime result parameter is of type xs:dateTime.


The date and time fields are supplied by the IDOC instance file:


IDOC:Date   19990621

ICOC:Time   0930

Result     1999-06-21T09:30:00

© 2019 Altova GmbH