dart / 1 / dart-core / datetime / datetime.now.html

DateTime.now constructor

DateTime.now()

Constructs a DateTime instance with current date and time in the local time zone.

DateTime thisInstant = new DateTime.now();

Source

DateTime.now() : this._now();

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-core/DateTime/DateTime.now.html