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

Converts a DateTimeto a UNIX/CTime

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

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
static 
uint 
ToCTime(
	
this 
Nullable<
DateTime> 
time,
	
bool 
forceUtc
)
<
ExtensionAttribute> _
Public 
Shared 
Function 
ToCTime ( _
	
time 
As 
Nullable(
Of 
DateTime), _
	
forceUtc 
As 
Boolean _
) 
As 
UInteger
[
ExtensionAttribute]
public:
static 
unsigned int 
ToCTime(
	
Nullable<
DateTime> 
time, 
	
bool 
forceUtc
)

Parameters

time
Nullable < (Of < ( <' DateTime > ) > ) >
forceUtc
Boolean

See Also