timezone independent milliseconds flutter code example
Example: convert datetime to TZDateTimeflutter
var time = tz.TZDateTime.from(
scheduledNotificationDateTime,
tz.local,
);
var time = tz.TZDateTime.from(
scheduledNotificationDateTime,
tz.local,
);