1 Reply Latest reply on Jul 28, 2007 5:14 PM by darrylfrith

    selecteddate

    darrylfrith
      what format is selectedDate in ?

      I would like to include selectedDate from the date chooser in my http request like this :

      get_pageloads.url = " http://www.mydomain.com/flex_data/flex_data.php?date=" + chooser.selectedDate;

      so that I can query mysql with the selected date. I tried doing an alert to see the date format but It makes me convert it to a string first. All I need is day month year.

      So I could also pass ?day=day&month=month&year=year

      if someone knows how to break up selecteddate.