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;
Constructs a Date instance with current date in the UTC time zone.
var thisInstant = Date.nowUtc();
factory Date.nowUtc() => clock.now().toUtc().date;