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

HLASM for MVS. PL/I for MVS & Enterprise PL/I for z/OS.
Previous topicNext topic

Topic Author
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 » Tue Feb 23, 2016 2:12 pm

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?




enrico-sorichetti
Global Moderator
Global Moderator
Posts: 892
Joined: Wed Sep 11, 2013 3:57 pm

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

Post by enrico-sorichetti » Tue Feb 23, 2016 2:42 pm



cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)

User avatar

Robert Sample
Global Moderator
Global Moderator
Posts: 1379
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
Zodiac: Virgo

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

Post by Robert Sample » Tue Feb 23, 2016 6:36 pm

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: 61
Joined: Sun Jun 01, 2014 4:15 am
Location: Oostende, Belgium
Zodiac: Pisces

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

Post by prino » Mon Jun 06, 2016 11:15 pm

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

Previous topicNext topic

Return to “Assembler & PL/I.”