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
time
Type: System.DateTimeTime to convert.
timeZoneInterpretation
Type: Microsoft.ConfigurationManagement.Messaging.Framework.SmsTimeZoneTime zone.
Return Value
Type: System.String
See Also
ToSmsTime Overload
TimeHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top