 | ExtensionMethodskEndOfMonth Method |
Returns the very end of the given month (the last millisecond of the last hour for the given date)
Namespace:
Koden.Utils.Extensions
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic static DateTime kEndOfMonth(
this DateTime dateValue
)
<ExtensionAttribute>
Public Shared Function kEndOfMonth (
dateValue As DateTime
) As DateTime
public:
[ExtensionAttribute]
static DateTime kEndOfMonth(
DateTime dateValue
)
[<ExtensionAttribute>]
static member kEndOfMonth :
dateValue : DateTime -> DateTime
Parameters
- dateValue
- Type: SystemDateTime
DateTime Base, from where the calculation will be preformed.
Return Value
Type:
DateTimeReturns the very end of the given month (the last millisecond of the last hour for the given date) -
DateTimeUsage 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