Share via


TimeHelpers.ToDateTime Method (FILETIME)

 

Converts a FILETIME object represented as local time to a managed DateTime object. For UTC conversion, use ToDateTime(FILETIME, Boolean).

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

Syntax

public static DateTime ToDateTime(
    this FILETIME fileTime
)
public:
[ExtensionAttribute]
static DateTime ToDateTime(
    FILETIME fileTime
)
<ExtensionAttribute>
Public Shared Function ToDateTime (
    fileTime As FILETIME
) As Date

Parameters

Return Value

Type: System.DateTime

See Also

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

Return to top