Date Methods
Chapter Updated 2/1/99
Method | Description |
---|---|
char * CharDayOf(char *Date8) | Returns pointer to (Sun - Sat) day of week |
char * CharMonthOf(char *Date8) | Returns pointer to (Jan - Dec) month of year |
xbShort DateIsValid(char *Date8) | Checks a date for validity |
xbShort DayOf(char *Date8) | Returns the "day of WEEK, MONTH or YEAR" from a given date |
char * FormatDate(char *fmt,char *Date8) | Return a pointer to a formatted date |
xbShort IsLeapYear(char *Date8) | Returns TRUE if given date is a leap year |
xbLong JulianDays(char *Date8) | Returns number of days since 1/1/1900 to given date |
char * JulToDate8(xbLong Days) | Converts Julian date to CCYYMMDD format |
xbLong LastDayOfMonth(char *Date8) | Returns julian day for the last day of the month for a given date. |
xbShort MonthOf(char *Date8) | Returns month of a date |
char * Sysdate() | Returns a pointer to the system date |
xbShort YearOf(char *Date8) | Returns century and year of a date |