Reply to post: Re: Dates

It's Pi day: Care to stuff a brand new Raspberry one in your wallet?

Stevie Silver badge

Re: Dates

Long ago on an American Manufactured Mainframe far away:

01 YANKEE-DATE.

05 MM PIC XX.

05 DD PIC XX.

05 YY PIC XX. **

*

*

*

01 UK-DATE.

05 DD PIC XX.

05 MM PIC XX.

05 YY PIC XX.

some stuff goes in here

ACCEPT YANKEE-DATE FROM TODAY.

MOVE CORRESPONDING YANKEE-DATE TO UK-DATE.

and get on with life

** yes, yes I know about y2k but the system date only came in that way in 1980 in ANSII Cobol and anyway if you think y2k issues only encompassed this thing you are deluded. A raft of issues revolved around report headings that only had mm/dd (or was it dd/mm? No way to tell) and *that* problem was a language agnostic, equal opportunity rat's nest.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2019