Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created July 11, 2022 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lgolubyev/a5574f3047bd0e5be7cc00f2be45f47a to your computer and use it in GitHub Desktop.
Save lgolubyev/a5574f3047bd0e5be7cc00f2be45f47a to your computer and use it in GitHub Desktop.
DateOnly todaysDate = new DateOnly(22, 1, 20);
DateOnly currentUtcDate = DateOnly.FromDateTime(DateTime.UtcNow);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment