DateTime.now()
returns my CEST time while:
DateTime.fromMillisecondsSinceEpoch(100)
DateTime.fromMillisecondsSinceEpoch(100, isUtc: true).toLocal())
return CET.
What’s wrong here? I would like to get consistent time zones.
DartPad example:
DateTime.now()
returns my CEST time while:
DateTime.fromMillisecondsSinceEpoch(100)
DateTime.fromMillisecondsSinceEpoch(100, isUtc: true).toLocal())
return CET.
What’s wrong here? I would like to get consistent time zones.
DartPad example: