1. #1
    Sencha User
    Join Date
    Jul 2012
    Posts
    235
    Vote Rating
    0
    chandan.behura is on a distinguished road

      0  

    Default geting next value in datefield

    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
    311
    Vote Rating
    52
    droessner is a jewel in the rough droessner is a jewel in the rough droessner is a jewel in the rough

      0  

    Default


    Check out the Ext.Date.add method:

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

Thread Participants: 1

Tags for this Thread