Aug 9, 2003 #1 BanD Technical User Nov 20, 2001 1 US In standard Windows Rexx to get yesterday's date I can do: today = date(u) yesterday = today - 1 How do I then get yesterday in date('s') & date('e') format? Don
In standard Windows Rexx to get yesterday's date I can do: today = date(u) yesterday = today - 1 How do I then get yesterday in date('s') & date('e') format? Don
Aug 10, 2003 #2 KiwiREXXDude Programmer May 27, 2003 95 AU Don't you mean Date('B') - base date? Try this; Y_DateS = Date('S', yesterday, 'B') Basically the first parameter is the desired output date format, the second is the input date, and the third is the input date format. Upvote 0 Downvote
Don't you mean Date('B') - base date? Try this; Y_DateS = Date('S', yesterday, 'B') Basically the first parameter is the desired output date format, the second is the input date, and the third is the input date format.
Sep 14, 2003 #3 bobham Programmer Aug 30, 2001 28 US yesterday_s = (s, (date(b) - 1),b) in most flavors of REXX. bobh Upvote 0 Downvote
Sep 21, 2003 #4 bobham Programmer Aug 30, 2001 28 US woops ; that should have been yesterday_s = Date(s, (date(b) - 1),b) SBT bobh Upvote 0 Downvote