Year Based Arithmetic Routines Category

Various routines for Manipulating Year based Info.

Routines
AddYrsAdds a Floating Point amount of Years to a Given Date/Time.
AdjustDateYearAdjusts the date so that it has the Year specified.
AgeAtDateReturns the Age (in years) of a "person" given their Date of Birth (DOB) and the Date of Reference (DT).
AgeAtDateInMonthsReturns the Age (in months) of a "person" given their Date of Birth (DOB) and the Date of Reference (DT).
Date2YearReturns the Year from a given date/time.
DatesInSameYearReturns true if both DateTimes refer to the same Year.
DayOfYearReturns the Day Number in the Year represented by the given Date.
DaysInYearReturns the number of days in the Year represented by the given Date.
DaysLeftInThisYearReturns the number of days left in this Year.
DaysLeftInYearReturns the number of days left in the Year represented by the given Date.
GetChristmasDayReturns Christmas Day, for a given Year.
GetEasterSundayReturns the Date of Easter Sunday for given Year - based on current Calendar.
GetEpactReturn the Epact, which is a measure of the age of the moon (ie the number of days that have passed since an "official" new moon) on a particular date.
GetFirstDayOfYearReturns First Day of the Year, for a given Year.
GetFirstMondayOfYearReturns First Monday of the Year, for a given Year.
GetFirstSundayOfYearReturns First Sunday of the Year, for a given Year.
GetGoldenNumberReturns the GoldenNumber for a given Year.
GetGoodFridayReturns the Date of Good Friday for given Year - based on current Calendar.
GetLastDayOfYearReturns Last Day of the Year, for a given Year.
IsFirstDayOfYearReturns true if the date is the first day of a Year.
IsFirstDayOfYearNowReturns true if today is the first day of a Year.
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.
ISOWeeksInYearMost years have 52 weeks, but years that start on a Thursday and leap years that start on a Wednesday (or Thursday) have 53 weeks.
OptDayOfYearReturns the Day Number in the Year represented by the given Date.
OptDaysLeftInThisYearReturns the number of days left in this Year.
OptDaysLeftInYearReturns the number of days left in the Year represented by the given Date.
OptThisDayOfYearReturns the Day Number in this Year represented by today.
OptThisYearReturns the current Year - from Today's Date.
SubtractYrsSubtracts a Floating Point amount of Years from a Given Date/Time.
ThisDayOfYearReturns the Day Number in this Year represented by today.
ThisYearReturns the current Year - from Today's Date.


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