0 Replies Latest reply on Apr 10, 2008 9:30 PM by Rural_Al

    Adding n days to dateField.selectedDate

    Rural_Al
      I am building a cattle birthing calculator. Can anyone help me with the code to add a certain number of days (around 283) to the output of a dateField.selectedDate (breeding date) so the result can be put into a string and output to a text field such as, "The estimated birthing date is 7/7/2008." Currently my output can show spurious dates like the 13/33/2008, and I assume there is an easy way of adding days and ending up with a real date.