utils/date_time_utils library
Functions
-
convertTimeOfDay(
TimeOfDay timeOfDay, {String? timeFormat}) → String - convertTimeOfDay method this method will convert time of day to date time format
-
formatDateTime(
String dateTime, {String? newDateTimeFormat}) → String - formatDateTime method this method will format a date string in default or format provided.
-
getCurrentDate(
{String? newDateTimeFormat}) → String - getCurrentDate method this method will get current date in format provided.