Redigera

Dela via


XsltFunctions.MSUtc(String) Method

Definition

Implements the ms:utcMicrosoft 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.

Applies to