
Calculate Yesterday's Date? (CLP or RPG/400) - Code400
Dec 13, 2011 · Can some please advise me how to calculate yesterday's date in either a CLP or RPG/400? Ideally this would be to retrieve the System Date, then subtract a day from it and …
RPG/400 Help - Rules for User Date - IBM
Use positions 19 and 20 of the control specification to specify the date format and the editing to be done. If positions 19 and 20 are blank, the date format is determined by the contents of …
Dressing Up Your Dates - MC Press Online
May 31, 1998 · The date calculator program utilizes date windowing and is therefore Y2K-friendly. Among other things, the program can be used to validate dates, change a date to a wide …
How to do date & time calculations in RPG iii - narkive
RPGIII does have date and timestamp calcs, but it's the OS level that you have to worry about. I think they've been around since V3R2.
Working with Date and Time System Values - ibmi400
Apr 21, 2015 · The date and time values, *DATTIM, lets us view, set, and change the date and time the system stores and makes available to applications and utilities. The system value that …
Everything you wanted to know about dates but never dared to …
Oct 21, 2015 · In this part I am going to be covering the RPG built in functions for Date data types I use. In my opinion one of the best changes that came with RPGLE was the ability to do …
Re: Date calculation in rpg - midrange.com RPG400-L
Apr 19, 2000 · Joel, this code subtract EDATE from #SYSDT and result is send to DYSLFT. Then you can subtract 7 from DYSLFT to achieve 7 days before today's date. Create an source file …
Semantics of UDATE and *DATE in IBM RPG/400 and ILE RPG
This document clarifies some potential misunderstandings about the semantics of UDATE (6-digit date) and *DATE (8-digit date). Both reserved words retrieve the job date rather than the …
Simple Date Calculation! - Code400 -The Support Alternative
Mar 31, 2009 · It appears that duration calculations do not have a "round" capability - as in round to the nearest month. My function strips the days off of the calculation and basically calculate …
regarding Date Calculation in RPG - Code400
if it's not possible to convert the program to RPGIV, but to use embedded SQL, you can use all SQL scalar date functions that are available and even more powerfull than RPG date functions …