Hi Jamie,
Saw your code posted on net on "SQLRPGLE - Date manipulation within SQL ",
so thought to consult with you.
{
SELECT Item, Date(Days(SUBSTR(CHAR(MFDATE),1,4)||'-'||
SUBSTR(CHAR(MFDATE),5,2)|| '-'||
SUBSTR(CHAR(MFDATE),7,2)) + EXPIRE)
FROM ITEMMASTER
}
I am stuck with finding the no of days between two dates. Any idea how to
process with this.
Thanks in advance.
Regards
Saw your code posted on net on "SQLRPGLE - Date manipulation within SQL ",
so thought to consult with you.
{
SELECT Item, Date(Days(SUBSTR(CHAR(MFDATE),1,4)||'-'||
SUBSTR(CHAR(MFDATE),5,2)|| '-'||
SUBSTR(CHAR(MFDATE),7,2)) + EXPIRE)
FROM ITEMMASTER
}
I am stuck with finding the no of days between two dates. Any idea how to
process with this.
Thanks in advance.
Regards



Comment