XsltFunctions.MSUtc(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Implements the ms:utc
Microsoft XPath extension function.
This API supports the product infrastructure and is not intended to be used directly from your code.
public:
static System::String ^ MSUtc(System::String ^ dateTime);
public static string MSUtc (string dateTime);
static member MSUtc : string -> string
Public Shared Function MSUtc (dateTime As String) As String
Parameters
- dateTime
- String
String that contains date/time data.
Returns
A string that contains date/time information. If a string cannot be interpreted as a valid XSD date/time-related format, it returns an empty string.
Remarks
Converts date/time-related values into Coordinated Universal Time and into a fixed (normalized) representation that can be sorted and compared lexicographically.