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