Share via


TimeHelpers.ToCTime Method (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 DateTime time
)
public:
[ExtensionAttribute]
static unsigned int ToCTime(
    DateTime time
)
<ExtensionAttribute>
Public Shared Function ToCTime (
    time As Date
) As UInteger

Parameters

Return Value

Type: System.UInt32

See Also

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

Return to top