Share via


TimeHelpers.ToCTime Method (Nullable<DateTime>)

 

Converts a DateTime object to Unix ctime.

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

Syntax

public static uint ToCTime(
    this Nullable<DateTime> time
)
public:
[ExtensionAttribute]
static unsigned int ToCTime(
    Nullable<DateTime> time
)
<ExtensionAttribute>
Public Shared Function ToCTime (
    time As Nullable(Of Date)
) As UInteger

Parameters

Return Value

Type: System.UInt32

See Also

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

Return to top