I have a calendar component that I am trying to interface with. I am building a form that will allow the user to add events by clicking on the cell.
The calendar is supplying the date like Wed Apr 06 2011 00:00:00 GMT+1000 (EST).
To try and be user friendly I want to split the date, time and timezone and then preload the date into a text field with date picker. Then I would like to reformat the data back to the structure it came in so the event can be processed by the calendar.
I have used a few datepickers but non that use this format, is there a way i can easily convert this format to something usable.
Im sorry but i am not a javascript programmer so need a little extra guidance.
Thanks,
Tim
Guess you might be looking at this.
http://trentrichardson.com/examples/timepicker/
also check this for date format
http://jqueryui.com/demos/datepicker/#date-formats
http://docs.jquery.com/UI/Datepicker/formatDate