Date/Time Comparison Category

Routines to compare Dates and Time. All routines return a Boolean Value.

Routines
DatesInSameMonthReturns true if both DateTimes refer to the same Calendar Month, can have different years.
DatesInSameMonthYearReturns true if both DateTimes refer to the exact same Month, cannot have different years.
DatesInSameWeekNoReturns true if the two Dates are in the same WeekNo.
DatesInSameYearReturns true if both DateTimes refer to the same Year.
IsAMReturns True if the Time portion is a AM value.
IsAMNowReturns True if the currnet Time is a AM value.
IsAprilReturns True if the given Date's Month is April.
IsAprilNowReturns True if today's Month is April.
IsAugustReturns True if the given Date's Month is August.
IsAugustNowReturns True if today's Month is August.
IsDecemberReturns True if the given Date's Month is December.
IsDecemberNowReturns True if todays Month is December.
IsFebruaryReturns True if the given Date's Month is February.
IsFebruaryNowReturns True if today's Month is February.
IsFirstDayOfMonthReturns true if the date is the first day of a Month.
IsFirstDayOfMonthNowReturns true if today is the first day of a Month.
IsFirstDayOfYearReturns true if the date is the first day of a Year.
IsFirstDayOfYearNowReturns true if today is the first day of a Year.
IsFridayReturns True if the Date represents a Friday.
IsFridayNowReturns True if today is a Friday.
IsJanuaryReturns True if the given Date's Month is January.
IsJanuaryNowReturns True if today's Month is January.
IsJulyReturns True if the given Date's Month is July.
IsJulyNowReturns True if today's Month is July.
IsJuneReturns True if the given Date's Month is June.
IsJuneNowReturns True if today's Month is June.
IsLastDayOfMonthReturns true if the date is the last day of a Month.
IsLastDayOfMonthNowReturns true if today is the last day of a Month.
IsLastDayOfYearReturns true if the date is the last day of a Year.
IsLastDayOfYearNowReturns true if today is the last day of a Year.
IsLeapYearIs given Year a Leap Year.
IsMarchReturns True if the given Date's Month is March.
IsMarchNowReturns True if today's Month is March.
IsMayReturns True if the given Date's Month is May.
IsMayNowReturns True if today's Month is May.
IsMidnightReturns True if the Time portion represents Midnight, 12:00am.
IsMidnightNowReturns True if the current Time represents Midnight, 12:00am.
IsMondayReturns True if the Date represents a Monday.
IsMondayNowReturns True if today is a Monday.
IsNoonReturns True if the Time portion represents Noon, 12:00pm.
IsNoonNowReturns True if the current Time represents Noon, 12:00pm.
IsNovemberReturns True if the given Date's Month is November.
IsNovemberNowReturns True if today's Month is November.
IsOctoberReturns True if the given Date's Month is October.
IsOctoberNowReturns True if today's Month is October.
IsPMReturns True if the Time portion is a PM value.
IsPMNowReturns True if the current Time is a PM value.
IsSaturdayReturns True if the Date represents a Saturday.
IsSaturdayNowReturns True if today is a Saturday.
IsSeptemberReturns True if the given Date's Month is September.
IsSeptemberNowReturns True if today's Month is September.
IsSundayReturns True if the Date represents a Sunday.
IsSundayNowReturns True if today is a Sunday.
IsThursdayReturns True if the Date represents a Thursday.
IsThursdayNowReturns True if today is a Thursday.
IsTuesdayReturns True if the Date represents a Tuesday.
IsTuesdayNowReturns True if today is a Tuesday.
IsValidLongDOWReturns True if DOW can be found in the Long Day Names from the Regional Settings.
IsValidLongMonthReturns True if Month can be found in the Long Months from the Regional Settings.
IsValidShortDOWReturns True if DOW can be found in the Short Day Names from the Regional Settings.
IsValidShortMonthReturns True if Month can be found in the Short Months from the Regional Settings.
IsWednesdayReturns True if the Date represents a Wednesday.
IsWednesdayNowReturns True if today is a Wednesday.
IsWeekdayReturns True if the Date represents Monday through Friday.
IsWeekdayNowReturns True if today is Monday through Friday.
IsWeekendReturns True if the Date represents Saturday or Sunday.
IsWeekendNowReturns True if today is Saturday or Sunday.
IsWorkingDayReturns True if the specified Date is a Working Day.
SameDateReturns True if they are both the same Date ignoring the Time portion.
SameDateTimeReturns True if they are both the same Date/Time.
SameTimeReturns True if they are both the same Time ignoring the Date portion.


HTML generated by Time2HELP
http://www.time2help.com