Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created Jul 11, 2022
Embed
What would you like to do?
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