Share via


TimeHelpers.ToSmsTime Method (DateTime, SmsTimeZone)

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,
    SmsTimeZone timeZoneInterpretation
)
public:
[ExtensionAttribute]
static String^ ToSmsTime(
    DateTime time,
    SmsTimeZone timeZoneInterpretation
)
<ExtensionAttribute>
Public Shared Function ToSmsTime (
    time As Date,
    timeZoneInterpretation As SmsTimeZone
) As String

Parameters

Return Value

Type: System.String

See Also

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

Return to top