get time date in flutter code example
Example: convert datetime to TZDateTimeflutter
var time = tz.TZDateTime.from(
scheduledNotificationDateTime,
tz.local,
);
var time = tz.TZDateTime.from(
scheduledNotificationDateTime,
tz.local,
);