.Net SDK 4.0.0 documentation
.Net SDK 4.0.0 documentation
Intuit.Ipp.OAuth2PlatformClient
EpochTimeExtensions Class
EpochTimeExtensions Methods
ToDateTimeFromEpoch Method
ToDateTimeOffsetFromEpoch Method
ToEpochTime Method
EpochTimeExtensions
ToDateTimeFromEpoch Method
Converts the given epoch time to a
DateTime
with
Utc
kind.
Namespace:
Intuit.Ipp.OAuth2PlatformClient
Assembly:
Intuit.Ipp.OAuth2PlatformClient (in Intuit.Ipp.OAuth2PlatformClient.dll) Version: 4.0.0.0 (4.0.0.0)
Syntax
C#
Copy
public
static
DateTime
ToDateTimeFromEpoch
(
this
long
intDate
)
Parameters
intDate
Type:
System
Int64
Return Value
Type:
DateTime
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)
.
See Also
Reference
EpochTimeExtensions Class
Intuit.Ipp.OAuth2PlatformClient Namespace