PrimitiveExtensions.FromUnixEpochTime Method

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function FromUnixEpochTime ( _
    unixTime As Long _
) As DateTime
public static DateTime FromUnixEpochTime(
    this long unixTime
)
[ExtensionAttribute]
public:
static DateTime FromUnixEpochTime(
    long long unixTime
)
static member FromUnixEpochTime : 
        unixTime:int64 -> DateTime
public static function FromUnixEpochTime(
    unixTime : long
) : DateTime

Parameters

Return Value

Type: System.DateTime

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Int64. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

PrimitiveExtensions Class

Microsoft.VisualStudio.Services.Common Namespace