Please enable JavaScript to view this site.

Altova MapForce 2021 Professional Edition

Converts the time value supplied as argument to UTC (Coordinated Universal Time). The function takes the timezone component (for example, "+5:00") into account.

mf-func-convert-to-utc

 

Languages

Built-in, C++, C#, Java.

 

Parameters

Name

Type

Description

time

xs:dateTime

Provides the xs:dateTime value to be converted.

 

Example

If the input value is 2001-12-17T09:30:02+05:00, the function's result is 2001-12-17T04:30:02.

 

If the input value is 2001-12-17T09:30:02Z, the function's result is 2001-12-17T09:30:02. In this case, no conversion has taken place, because the trailing "Z" already defines this time to be "Zero" (or "Zulu") time, which is the same as UTC.

© 2015-2021 Altova GmbH