Results 1 to 2 of 2

Thread: how to compare dates

  1. #1
    Sencha User
    Join Date
    May 2010

    Default how to compare dates

    i want comapare two dates first date is comming from database having formate of 'Y-m-d' and second date is user input in the form having formate 'd-m-Y'

    Can someone please provide one example.


  2. #2
    Sencha User Animal's Avatar
    Join Date
    Mar 2007


    Date objects compare against each other in Javascript. You have converted them to Dates haven't you?

    I mean we have NO IDEA AT ALL what you are doing, but I'm guessing that you are loading a Store.

Similar Threads

  1. how to get a list of dates between two dates
    By stehen09 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 17 Aug 2010, 2:23 AM
  2. Storing dates in grid panel as Excel-dates
    By dan007 in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 2 Dec 2009, 11:02 PM
  3. Compare the capabilitys of the IE and FF??
    By tsd1982 in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 18 Nov 2007, 8:13 PM
  4. [SOLVED] Compare dates
    By dotnetCarpenter in forum Ext 1.x: Help & Discussion
    Replies: 8
    Last Post: 7 Sep 2007, 12:25 AM

Posting Permissions

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