Unit JDates |
Classes |
Functions |
BumpDate - Convert from a date to day,month,year
Convert from a date to day,month,year
CurrentJDate - replacement for old WINDOS proc
DateToDMY - Convert from day,month,year to a date
Convert from day,month,year to a date } { Stored as number of days since January 1, 1900 } { Note that no error checking takes place in this routine -- use ValidDate
DateToStr - Return a string version of a month
Return a string version of a month
DayOfWeek - Add (or subtract) the number of days, months, and years to a date
Add (or subtract) the number of days, months, and years to a date } { Note that months and years are added first before days } { Note further that there are no overflow/underflow checks
DayOfYear - -Return the week-of-year from a julian date.
DaysInMonth - -Return the current day of year assuming Jan 1 is day 1
12/31/Year-1
DayString - Return the day of the week for the date
Return the day of the week for the date
DMYtoDate - Check if the day,month,year is a real date storable in a Date variable
(Day<1) or
GetDate - -Return the number of days in any given Month and Year
GetTime - replacement for old WINDOS proc
MonthString - Return a string version of a day of the week
Return a string version of a day of the week
StrToDate - Convert a date to a sortable string
Convert a date to a sortable string - NOT displayable
ValidDate -
WeekOfYear - Convert a sortable string form to a date
Written 94/10/05, Kim Kokkonen, TurboPower Software
Modified 01/19/96, Dennis Passmore for use with JDATES.
Types |
Constants |
Variables |
Functions |
Convert from a date to day,month,year
Convert from day,month,year to a date } { Stored as number of days since January 1, 1900 } { Note that no error checking takes place in this routine -- use ValidDate
Return a string version of a month
Add (or subtract) the number of days, months, and years to a date } { Note that months and years are added first before days } { Note further that there are no overflow/underflow checks
Compute FirstJulian, the julian date for the first Sunday in the year
Return the day of the week for the date
Return a string version of a day of the week
Convert a date to a sortable string - NOT displayable
Written 94/10/05, Kim Kokkonen, TurboPower Software Modified 01/19/96, Dennis Passmore for use with JDATES.PAS
Types |
TDate = Word
TDay = (Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday);
TDaySet = set of TDay
Constants |
Variables |