Click or drag to resize

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
Syntax
public static DateTime kBeginningOfMonth(
	this DateTime dateValue
)

Parameters

dateValue
Type: SystemDateTime
DateTime Base, from where the calculation will be preformed.

Return Value

Type: DateTime
Returns the Start of the given month (the fist millisecond of the given date) - DateTime

Usage 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