Altova MapForce 2026 Enterprise Edition

Returns the datetime value (as an xs:dateTime) in UTC, converted from the stored number of seconds since the Unix epoch.

MF_Func_timestamp-datetime

 

Languages

Built-in

 

Parameters

Name

Type

Description

timestamp

bson:timestamp

The BSON timestamp value from which the datetime in UTC is extracted.

 

Example

This example shows how the UTC datetime is extracted from a BSON timestamp (see screenshot below). The timestamp-datetime function extracts the datetime in UTC from the created node of the MongoDB component.

MF_BSONFuncExamples

An excerpt of the output is provided below:

 

5E361F8A640000000000012D,2020-02-02T01:02:02Z,100,301,2020-02-02T01:02:02Z,McLaren Mercedes

5E361F8A640000000000012E,2020-02-02T01:02:02Z,100,302,2020-02-02T01:02:02Z,Ferrari

 

© 2020-2026 Altova GmbH