DateTimeExtensions.BeginningOfMonth

Returns the Start of the given month (the fist millisecond of the given date)

public static DateTime BeginningOfMonth(DateTime obj)

Parameters

obj
DateTime Base, from where the calculation will be preformed.