Results 1 to 2 of 2

Thread: geting next value in datefield

  1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    235
    Vote Rating
    0
      0  

    Default geting next value in datefield

    Hi,
    how to get a date 7 days from selected date in datefield.
    Ex:
    lets selected date is 2012-12-01, i need the date 2012 -12 -08(i.e 7 days from selected days)

    And i have set the calculated date in another datefield as Max value

  2. #2
    Touch Premium Member
    Join Date
    Feb 2011
    Location
    NJ
    Posts
    316
    Vote Rating
    59
      0  

    Default

    Check out the Ext.Date.add method:

    http://docs.sencha.com/ext-js/4-1/#!...ate-method-add

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •