DateTime.timestamp constructor

  1. @Since("3.0")
DateTime.timestamp()

Constructs a DateTime with the current UTC date and time.

final mark = DateTime.timestamp();

Implementation

@Since("3.0")
DateTime.timestamp() : this._nowUtc();