The following tables list the members exposed by DateTimeProvider.
Name | Description | |
---|---|---|
DateTimeProvider Constructor | Overloaded. |
Name | Description | |
---|---|---|
Instance | ||
UtcNow | Gets the System.DateTime instance that is set to the current date and time on this computer, expressed as the Coordinated Universal Time (UTC). |
Name | Description | |
---|---|---|
ToDateTime | Returns System.DateTime instance that is set to the time for today. |