Aug 9, 2003 #1 BanD Technical User Joined Nov 20, 2001 Messages 1 Location 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 Joined May 27, 2003 Messages 95 Location 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 Joined Aug 30, 2001 Messages 28 Location US yesterday_s = (s, (date(b) - 1),b) in most flavors of REXX. bobh Upvote 0 Downvote
Sep 21, 2003 #4 bobham Programmer Joined Aug 30, 2001 Messages 28 Location US woops ; that should have been yesterday_s = Date(s, (date(b) - 1),b) SBT bobh Upvote 0 Downvote