Date.nowUtc constructor

Date.nowUtc()

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

var thisInstant = Date.nowUtc();

Implementation

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