Share via


TimeHelpers.ToSmsTime Method (DateTime, Boolean)

 

Converts a DateTime object to a CIM-formatted string.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public static string ToSmsTime(
    this DateTime time,
    bool ignoreTimeZone
)
public:
[ExtensionAttribute]
static String^ ToSmsTime(
    DateTime time,
    bool ignoreTimeZone
)
<ExtensionAttribute>
Public Shared Function ToSmsTime (
    time As Date,
    ignoreTimeZone As Boolean
) As String

Parameters

Return Value

Type: System.String

See Also

ToSmsTime Overload
TimeHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top