TimeHelpers.ToSmsCookieTime Method (DateTime)
Converts an existing DateTime object to the SMS cookie time format: 2007-01-01 11:11:11.000.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public static string ToSmsCookieTime(
this DateTime time
)
public:
[ExtensionAttribute]
static String^ ToSmsCookieTime(
DateTime time
)
<ExtensionAttribute>
Public Shared Function ToSmsCookieTime (
time As Date
) As String
Parameters
time
Type: System.DateTimeTime to convert.
Return Value
Type: System.String
See Also
TimeHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top