dateNow function

IO<DateTime> dateNow()

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

IO wrapper around dart DateTime.now().

Implementation

IO<DateTime> dateNow() => IO(() => DateTime.now());