[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Formats the CIM time to a string '20070402184502.000000-420'

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

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
static 
string 
ToSmsTime(
	
this 
DateTime 
time,
	
SmsTimeZone 
timeZoneInterpretation,
	
bool 
forceOffset,
	
int 
offset
)
<
ExtensionAttribute> _
Public 
Shared 
Function 
ToSmsTime ( _
	
time 
As 
DateTime, _
	
timeZoneInterpretation 
As 
SmsTimeZone,
_
	
forceOffset 
As 
Boolean, _
	
offset 
As 
Integer _
) 
As 
String
[
ExtensionAttribute]
public:
static 
String^ 
ToSmsTime(
	
DateTime 
time, 
	
SmsTimeZone 
timeZoneInterpretation, 
	
bool 
forceOffset, 
	
int 
offset
)

Parameters

time
DateTime
timeZoneInterpretation
SmsTimeZone
forceOffset
Boolean
offset
Int32

Return Value

returns a formatted date in CIM time. IE: 20070402184502.000000-420

See Also