Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Date Comparisions

Hi All,

I need to Compare dates. Basically in a variable I have the date in the format

25072007 (DDMMYYYY), I need to check whether the Year is greater than the 1000 as the requirement is that a Date below 1000 should not be taken in to the system.

So is there a standard command which I can do or should I check for the last 4 characters whether it is greater than 1000 in the date variable.

Regards, Vinay

Not what you were looking for? View more on this topic or Ask a question