how to set datetime in flutter code example
Example 1: flutter get millis time
void main() {
print(DateTime.now().millisecondsSinceEpoch);
}
Example 2: convert datetime to TZDateTimeflutter
var time = tz.TZDateTime.from(
scheduledNotificationDateTime,
tz.local,
);