Month: October 2020

How to Convert Current Date and Time to UTC in Flutter

In this short Flutter tutorial, let’s check how to convert current time to UTC (Coordinated Universal Time) in Flutter easily. We use DateTime class for this purpose. You can get the current time as given below. We can use the method toUtc to convert the current date and time to UTC. Following is the complete …

How to Convert Current Date and Time to UTC in Flutter Read More »