Answers for "get current date and time with 12 hour format in flutter"

3

how to display current date time in flutter

DateTime dateToday = DateTime(DateTime.now().year, DateTime.now().month, DateTime.now().day) ;
Posted by: Guest on January-03-2021
0

how to display current date time in flutter

DateTime now = new DateTime.now();
DateTime date = new DateTime(now.year, now.month, now.day);
Posted by: Guest on January-03-2021

Code answers related to "get current date and time with 12 hour format in flutter"

Code answers related to "Dart"

Browse Popular Code Answers by Language