Well, the date-format displayed is customizable (MM-DD-YYYY or DD-MM-YYYY). I prefer DDMMM,YYYY (no way to mix up 1-2-2025 if it comes out 01FEB,2025 or 02JAN,2025).
The Input can be internal-date (the "CURRENT_DATE") or JFCB format (that is a weird format) or simple YYYY/DDD format. We don't look at time, only date. Russell -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Paul Gilmartin Sent: Saturday, April 19, 2025 11:04 AM To: [email protected] Subject: Re: Day of week from a program On Sat, 19 Apr 2025 10:42:10 -0500, Russell Witt wrote: >Another option would be to use exploit a third-party product. If you have >either CA 1 or TLMS installed as your Tape Management system, both have a set >of macros that can do all kinds of date processing (add days, calculate the >number of days between 2 dates, subtract days). And on of the things we do >with date is to "expand" them; which means turning 2025/001 into "Wednesday, >January 1st 2025". So you can get the character form of any date you supply. > And TOD input format? (That's mostly an affine transformation.) And time zones? And pre-2006 U.S. Daylight Saving Time? And HLASM interface? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
