to-datetime

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

Home >  Functions > Function Library Reference > edifact >

to-datetime

Result is the Datetime value extracted from the coded source (F2380) given format code (F2379).

fn-todatetime-edi

E.g.

Given the EDI file shown in the screenshot below, the Date/Time/Period value is shown in the DTM field.

fn-edi-date-eg1

The value is converted to an xs:date format using the to-datetime function.

fn-edi-date-eg2

The result of the conversion is shown below. This sample is available in the ...\MapForceExamples as EDI-Order.mfd.

fn-edi-date-eg3


© 2019 Altova GmbH