Westwind.Utilities.Extensions.DateTimeExtensions
public static class DateTimeExtensions : object
Class Members
Member | Description | |
---|---|---|
BeginningOfDay |
Returns 12:00am time for the date passed. Useful for date only search ranges start value public static DateTime BeginningOfDay(DateTime date) |
|
BeginningOfMonth |
Returns the Start of the given month (the fist millisecond of the given date) public static DateTime BeginningOfMonth(DateTime obj) |
|
Between |
Returns true if the date is between or equal to one of the two values. public static bool Between(DateTime date, DateTime startDate, DateTime endDate) |
|
EndOfDay |
Returns 12:59:59pm time for the date passed. Useful for date only search ranges end value public static DateTime EndOfDay(DateTime date) |
|
EndOfMonth |
Returns the very end of the given month (the last millisecond of the last hour for the given date) public static DateTime EndOfMonth(DateTime obj) |
Requirements
Namespace: Westwind.Utilities.ExtensionsAssembly: westwind.utilities.dll
© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic