Date Codes

The Date Code field appears in many STORIS routines, including report routines.  Click on the Arrow button to view a list of available options, then select the date code that best indicates the time period on which to base your report.  The following is a list of options. Not all options are available at all Date Code fields.

 

Code

Description

CUS

user-defined start and end dates

TDAY

today's date

YDAY

yesterday's date

TMRW

tomorrow's date

LPTD

last period to-date   

(example: If report is run on 9/25/13, start and end dates are 8/01/13 - 8/25/13.)

LPTO

last period total

CPTD

current period to-date   

(example: If report is run on 9/25/13, start and end dates are 9/01/13-9/25/13.)

CYTD

current year to-date

YPTD

last year period-to-date

YPTO

last year period total

LYTD

last year to-date

LYTO

last year total

 

 If you select CUS (Custom) at the Date Code field, you activate the Start Date and End Date fields (or in some routines, the As-Of Date field or the Starting Date field), into which you can enter the starting and ending dates of a date range (or an as-of or starting date).  You can also accept the default dates.  If you do not select CUS, the date code you select determines the dates.