record TgoBsonDateTime
Unit
Grijjy.Bson
Declaration
type TgoBsonDateTime = record
Description
A BSON DateTime value
Overview
Methods
Properties
Description
Methods
class function Create(const ADateTime: TDateTime; const ADateTimeIsUTC: Boolean): TgoBsonDateTime; overload; static; |
Creates a BSON DateTime value from a Delphi DateTime value.
Parameters
- ADateTime
- the (Delphi) date time value
- ADateTimeIsUTC
- whether ADateTime is in universal time
Returns
The BSON DateTime value |
class function Create(const AMillisecondsSinceEpoch: Int64): TgoBsonDateTime; overload; static; |
Creates a BSON DateTime value.
Parameters
- AMillisecondsSinceEpoch
- the number of milliseconds since the Unix epoch.
Returns
The BSON DateTime value |
function ToLocalTime: TDateTime; inline; |
Converts the DateTime value to a Delphi DateTime value in local time
|
function ToUniversalTime: TDateTime; inline; |
Converts the DateTime value to a Delphi DateTime value in universal time
|
Properties
property MillisecondsSinceEpoch: Int64 read GetMillisecondsSinceEpoch; |
The number of milliseconds since the Unix epoch
|
Generated by P2PasDoc 0.13.0 on 2017-04-25 12:54:26
|