Manipulating the date RRS feed

  • Question

  • Hey guys,

    I want to take a date selected and add 549 days onto it then populate another date field here is the code I have but it isn't working. I don't have to use a Date field for the Drop Dead Date. If you guys have any other suggestions feel free. Thanks!

    var dateValue = crmForm.all.new_enddate.DataValue;
    var dropdateValue = (dateValue + 549)

    crmForm.all.new_dropdeaddate.DataValue = dropdateValue;

    Monday, September 20, 2010 7:58 PM


All replies