isUtc property

bool isUtc
final

True if this DateTime is set to UTC time.

final dDay = DateTime.utc(1944, 6, 6);
print(dDay.isUtc); // true

final local = DateTime(1944, 6, 6);
print(local.isUtc); // false

Implementation

final bool isUtc;