Ok, my task is to create a program to delete any files that havn't been accessed in 6 months, I get this data as follows:-
filedate = stream("filename.tmp", 'c', 'QUERY TIMESTAMP')
I want to then compare it to the current date, aquired as follows:-
today = Date('Standard')
But, I cant do this because they are different formats, I have tried changing the format of the date but I'm not sure If I'm doing it correctly.
Could anyone please tell me how to mathimatically compare these two values within REXX.
Thanks in advance for any help.
K1ng
filedate = stream("filename.tmp", 'c', 'QUERY TIMESTAMP')
I want to then compare it to the current date, aquired as follows:-
today = Date('Standard')
But, I cant do this because they are different formats, I have tried changing the format of the date but I'm not sure If I'm doing it correctly.
Could anyone please tell me how to mathimatically compare these two values within REXX.
Thanks in advance for any help.
K1ng