get time and date now 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,
);