www.icetips.com  Icetips Utilities Documentation 7/29/2010    

Date Class Methods

Previous  Top  Next  


There are currently 39 methods in the Date Class.

 

GetDayName                 Procedure(Byte pDay, Byte pLongName=True),String

GetMonthName               Procedure(Byte pMonth, Byte pLongName=True),String

GetNextWeekDay             Procedure(Long pBaseDate, Byte pWeekDay, Byte pDayIfSame=True),LONG

GetPreviousWeekDay         Procedure(Long pBaseDate, Byte pWeekDay, Byte pDayIfSame=True),LONG

InitDayNames               Procedure

InitMonthNames             Procedure

SetDayName                 Procedure(Byte pDay, String pDayName, <String pShortName>)

SetMonthName               Procedure(Byte pMonth, String pMonthName, <String pShortName>)

GetWeekNumber              Procedure(Date pDate),Byte  !! ISO 8601

 

SetWeekStartDay            Procedure(Byte pStartDay)

GetWeekStartDay            Procedure(),Byte

GetWeekFirstDay            Procedure(Date pStartDate, Long pWeek),Long

 

DateDiff                   Procedure(Byte pDatePart=1, Date pStartDate, Date pEndDate),Long

DateAdd                    Procedure(Byte pDatePart=1, Long pNumber, Date pStartDate),Long

GetDate                    Procedure(Date pDate, Long pPeriods, Byte pDatePart=1),Long

 

GetThisWeek                Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetLastWeek                Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetNextWeek                Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetThisWorkWeek            Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetLastWorkWeek            Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetNextWorkWeek            Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetThisMonth               Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetLastMonth               Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetNextMonth               Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetThisQuarter             Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetLastQuarter             Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetNextQuarter             Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetThisYear                Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetLastYear                Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetNextYear                Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetLast12Months            Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetMonthToDate             Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetQuarterToDate           Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetYearToDate              Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetMonthFromDate           Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetQuarterFromDate         Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

GetYearFromDate            Procedure(Date pDate, *ANY pFromDate, *ANY pToDate),LONG,PROC

 

Construct                  Procedure

Destruct                   Procedure

 



Direct link to this page: http://www.icetips.com/manuals/utilities/methods_dc.htm