DATE, DAY, DAY-OF-WEEK, and TIME
The conceptual data items DATE, DAY, DAY-OF-WEEK, and TIME implicitly have USAGE DISPLAY.
- DATE (Without the YYYYMMDD Phrase)
- Has the implicit PICTURE 9(6).
The sequence of data elements (from left to right) is:
2 digits for year of century 2 digits for month of year 2 digits for day of monthThus, 16 November 1963 is expressed as:631116
IBM Extension
IBM Extension
- DATE (With the YYYYMMDD Phrase)
- Has the implicit PICTURE 9(8).
The sequence of data elements (from left to right) is:
4 digits for year in the Gregorian calendar 2 digits for month of year 2 digits for day of monthThus, 16 November 1963 is expressed as:19631116
End of IBM Extension
- DAY (Without the YYYYDDD Phrase)
- Has the implicit PICTURE 9(5).
The sequence of data elements (from left to right) is:
2 digits for year of century 3 digits for day of yearThus 25 December 1988 is expressed as:88360
IBM Extension
IBM Extension
- DAY (With the YYYYDDD Phrase)
- Has the implicit PICTURE 9(7).
The sequence of data elements (from left to right) is:
4 digits for year in the Gregorian calendar 3 digits for day of yearThus, 31 December 1995 is expressed as:1995365
End of IBM Extension
- DAY-OF-WEEK
- Has the implicit PICTURE 9(1).
The single data element represents the day of the week thus:
1 represents Monday 2 represents Tuesday 3 represents Wednesday 4 represents Thursday 5 represents Friday 6 represents Saturday 7 represents SundayThus Thursday is expressed as: 4
- TIME
- Has the implicit PICTURE 9(8).
The sequence of data elements (from left to right) is:
2 digits for hour of day 2 digits for minute of hour 2 digits for second of minute 2 digits for hundredths of secondThus 12.25 seconds after 2:41 PM is expressed as:14411225