Date.now constructor

Date.now()

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

var thisInstant = Date.now();

Implementation

factory Date.now() => clock.now().date;