Previous Topic: Data Field Suffix Codes

Next Topic: Print Control Suffix Codes


Date and Time Field Suffix Codes

Suffix Code

Description

Used with
Statements

(DD/MM/YY)

Specifies that a date field must be a character field with an internal format of DD/MM/YY.

DECODE
DEFINE

(DDMMYY)

Specifies that a date field must be a numeric, packed, or character field with an internal format of DDMMYY.

COMPUTE
DECODE
DEFINE

(HH)

The time field is converted from seconds to display as hours and hundredths of an hour (HH.HH).

COMPUTE
DECODE
DEFINE
LIST

(HM)

The time field is converted from seconds to display as hours and minutes (HH:MM).

COMPUTE
DECODE
DEFINE
LIST

(HS)

The time field is converted from seconds to display as hours, minutes, and seconds (HH:MM:SS).

COMPUTE
DECODE
DEFINE
LIST

(KH)

The time field is converted from seconds to display as hours, minutes, seconds, and milliseconds (HH:MM:SS.SSS).

COMPUTE
DECODE
DEFINE
LIST

(KM)

The time field is converted from seconds to display as minutes, seconds, and milliseconds (MM:SS.SSS).

COMPUTE
DECODE
DEFINE
LIST

(KS)

The time field is converted from seconds to display as seconds and milliseconds (SS.SSS).

COMPUTE
DECODE
DEFINE
LIST

(MM/DD/YY)

Specifies that a date field must be a character field with an internal format of MM/DD/YY.

COMPUTE
DECODE
DEFINE

(MMDDYY)

Specifies that a date field must be a numeric, packed, or character field with an internal format of MMDDYY.

COMPUTE
DECODE
DEFINE

(MS)

The time field is converted from seconds to display as minutes and seconds (MM:SS).

COMPUTE
DECODE
DEFINE
LIST

(ST)

Resets print options for the specified time field. All time values for this field are expressed in seconds.

COMPUTE
DECODE
DEFINE
LIST

(YY/MM/DD)

Specifies that a date field must be a character field with an internal format of YY/MM/DD.

COMPUTE
DECODE
DEFINE

(YYDDD)

Specifies that a date field must be a numeric, packed or character field with an internal format of YYDDD (Julian date).

COMPUTE
DECODE
DEFINE

(YYMMDD)

Specifies that a date field must be a numeric, packed, or character field with an internal format of YYMMDD.

COMPUTE
DECODE
DEFINE