 | ExtensionMethodskEndOfDay Method |
Returns 12:59:59pm time for the date passed.
Useful for date only search ranges end value
Namespace:
Koden.Utils.Extensions
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic static DateTime kEndOfDay(
this DateTime dateValue
)
<ExtensionAttribute>
Public Shared Function kEndOfDay (
dateValue As DateTime
) As DateTime
public:
[ExtensionAttribute]
static DateTime kEndOfDay(
DateTime dateValue
)
[<ExtensionAttribute>]
static member kEndOfDay :
dateValue : DateTime -> DateTime
Parameters
- dateValue
- Type: SystemDateTime
Date to convert
Return Value
Type:
DateTimeDateTimeUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
DateTime. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also