I think that at least I shall replace DateTime with DateTimeOffset. It might be worth also using new .NET samples with new DateOnly types. It might be worth considering providing an example using NodaTime.
Read more in Is keeping dates in UTC really the best solution?.