Altova XMLSpy 2025 Enterprise Edition

Altova.Types.DateTimeFormat

Home Prev Top Next

The DateTimeFormat enum type has the following constant values:

 

Value

Description

Example

S_DateTime

Formats the value as standard dateTime, with a precision of a ten-millionth of a second, including timezone.

2015-11-12 12:19:03.9019132+01:00

S_Days

Formats the value as number of days elapsed since the UNIX epoch.

 

735913.6318973451087962962963

S_Seconds

Formats the value as number of seconds elapsed since the UNIX epoch, with a precision of a ten-millionth of a second.

63582937678.0769062

W3_date

Formats the value as schema date.

2015-11-12

W3_dateTime

Formats the value as schema dateTime.

2015-11-12T15:12:14.5194251

W3_gDay

Formats the value as schema gDay.

---12

(assuming that the date is 12th of the month)

W3_gMonth

Formats the value as schema gMonth.

--11

(assuming that the month is November)

W3_gMonthDay

Formats the value as schema gMonthDay.

--11-12

(assuming that the date is 12th of November)

W3_gYear

Formats the value as schema gYear.

2015

(assuming that the year is 2015)

W3_gYearMonth

Formats the value as schema gYearMonth.

2015-11

(assuming that the year is 2015 and the month is November)

W3_time

Formats the value as schema time, with a precision of a ten-millionth of a second.

15:19:07.5582719

© 2018-2024 Altova GmbH