Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Checking the date with an IF statement
I am using a simple if statement. This is to control stock flow. A user rents something for one year. When this year is completed or a new payment is due a message will be displayed on-screen. The if statement will have a date given to it. It will then check this date against the computer's date. If the date is past the computer's date for example 2003-09-05 is past 2003-07-02 then it will display a message onscreen. Can anyone help make up the condition IF(...)?
Please help. Many Thanks.
0 · ·