Get an assembly date in the mm/dd/yy date format?

HLASM for MVS. PL/I for MVS & Enterprise PL/I for z/OS.
Post Reply
Raghubeer Singh
New Member
Posts: 2
Joined: Sat Aug 02, 2014 9:41 pm

Get an assembly date in the mm/dd/yy date format?

Post by Raghubeer Singh »

Hi,

How do I get an assembly date in the mm/dd/yy date format?

The HLASM's &SYSDATC generates the date in yyyymmdd, a 4 digit year. Can you please advise me on getting the date as mm/dd/yy?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1886
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Get an assembly date in the mm/dd/yy date format?

Post by Robert Sample »

It is disheartening to see 2-digit years returning. The year 2100 problem with 2-digit years may be much worse than Y2K (at least I don't expect to be working on the year 2100 issue).
User avatar
prino
Registered Member
Posts: 68
Joined: Sun Jun 01, 2014 4:15 am
Location: Vilnius, Lithuania
Contact:

Re: Get an assembly date in the mm/dd/yy date format?

Post by prino »

Why use an imbecile US-only unsortable ambiguous format? The only format you should ever consider is ISO8601!
Robert AH Prins
robertahprins @ the.17+Gb.Google thingy
Some z/OS code here
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Assembler & PL/I.”