-
-
Save lgolubyev/89ecf896aac1fc78f58f491f633201e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A couple constructors to choose from. | |
public TimeOnly(int hour, int minute) | |
public TimeOnly(int hour, int minute, int second) | |
public TimeOnly(int hour, int minute, int second, int millisecond) | |
TimeOnly nineInTheMorning = new TimeOnly(9, 0); | |
TimeOnly currentUtcTime = TimeOnly.FromDateTime(DateTime.UtcNow); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment