I wrote a package for this. It's called Instant, and it can convert a DateTime in any given timezone worldwide. Take a detailed look at https://aditya-kishore.gitbook.io/instant/
The basic usage for converting a DateTime to a timezone is very simple:
```dart
//Assumes Instant is in your pubspec
import 'pacakges:instant/instant.dart';
//Super Simple!
DateTime myDT = DateTime.now(); //Current DateTime
DateTime EastCoast = dateTimeToZone(zone: "EST", datetime: myDT); //DateTime in EST zone
return EastCoast;
```
This works with one line of code and minimal hassle.
I wrote a package for this. It's called Instant, and it can fetch the latest DateTime in any given zone worldwide. Take a detailed look at https://aditya-kishore.gitbook.io/instant/
The basic usage to get a DateTime in a timezone is very simple:
```dart
//Assumes Instant is in your pubspec
import 'pacakges:instant/instant.dart';
//Super Simple!
DateTime EastCoast = dateTimeByZone(zone: "EST"); //current DateTime in EST zone
```
This works with one line of code and minimal hassle.