Skip to main content

jQuery Mobile Form Date Input Format



I've got a simple form as part of a jQuery Mobile site which includes a date field:







<input type="date" name="contactNewInspectionDate" id="contactNewInspectionDate" />







I'm trying to establish the format of what is submitted for these type="date" fields. So far I'm seeing something like this:





2012-02-16





for February 16, 2012.





Is YYYY-MM-DD always the submitted format for these date fields?





If that is the case can anyone recommend the easiest way to parse the individual elements out using PHP (Date, Month, Year)?





Many thanks, Steve


Comments

Popular posts from this blog

Slow Android emulator

I have a 2.67 GHz Celeron processor, 1.21 GB of RAM on a x86 Windows XP Professional machine. My understanding is that the Android emulator should start fairly quickly on such a machine, but for me it does not. I have followed all instructions in setting up the IDE, SDKs, JDKs and such and have had some success in staring the emulator quickly but is very particulary. How can I, if possible, fix this problem?