Return the begining of a day from a date
Namespace:
Devolutions.UtilsAssembly: Devolutions.Utils (in Devolutions.Utils.dll)
Syntax
| Visual Basic |
|---|
Public Shared Function GetStartOfDay ( _ dateTime As DateTime _ ) As DateTime |
| C# |
|---|
public static DateTime GetStartOfDay( DateTime dateTime ) |
Parameters
- dateTime
- Type: System..::..DateTime