var dateNow = DateOnly.FromDateTime(DateTime.Now);
var timeNow = TimeOnly.FromDateTime(DateTime.Now);
References
https://stackoverflow.com/questions/69798302/datetime-now-equivalent-for-timeonly-and-dateonly
var dateNow = DateOnly.FromDateTime(DateTime.Now);
var timeNow = TimeOnly.FromDateTime(DateTime.Now);
References
https://stackoverflow.com/questions/69798302/datetime-now-equivalent-for-timeonly-and-dateonly