Microsoft XML Core Services (MSXML) 5.0 for Microsoft Office - XPath Reference

ms:utc Function

Converts date/time related values into Coordinated Universal Time and into a fixed (normalized) representation that can be sorted and compared lexicographically.

string ms:utc(string)

Remarks

This function works only with time instances such as timeInstant, time, date, yearMonth, year, monthDay, day, and month. The utc() function does not work with periods of time such as timeDuration or its derived types. For nonstring arguments, this function acts as if a string function were first applied. This function does not depend on the presence of XSD information. If a string cannot be interpreted as a valid XSD date/time-related format, it returns an empty string. The rules for date/time values are:

String Comparison Constraints:

See Also

Data Types in Schemas | XML Schema Reference (XSD) | XML Data Types Reference