15 Replies Latest reply on Feb 10, 2011 5:51 PM by Mr Paneser

    Can I perform calculations on date values?

    Mr Paneser

      I am trying to set a date range using two calendar functions by entering a "from" date and a "to" date.

       

      This is done using a javascript linked to a textbox to enter a date.  This is my "from" date, can I check this date against today to confirm that the from date is later than today i.e. in the future.  I have zero javascript experience, but do know PASCAL.

       

      I then have a second date box with another calendar, i want to populate this box automatically with the same date as the first box unless the user physically wants to change the date to a later one.

       

      Can anyone help?  I would really appreciate some pointers so that I can try and learn some Java along the way.