now static method

DateTime now()

Returns the current date and time.

Example:

final now = DateTimeUtils.now();

Implementation

static DateTime now() {
  return DateTime.now();
}