BsonDate.this

Constructs a BsonDate from the given date value.

The time-zone independent Date and DateTime types are assumed to be in the local time zone and converted to UTC if tz is left to null.

  1. this(Date date, TimeZone tz)
  2. this(DateTime date, TimeZone tz)
    struct BsonDate
    this
    (
    in DateTime date
    ,
    immutable TimeZone tz = null
    )
  3. this(SysTime date)
  4. this(long unix_time)

Meta