I have no dates entered for the fields from the database .. ie 0000-00-00 00:00:00 which is my default.
The form field has a return value from the table such as value="$PE_start_time" which currently is 0000-00-00 00:00:00
Why would you assume the months allowed range has to be 01-12?
Why can't I have these timestamps set to 0000-00-00 00:00:00
Could I edit calendar3.js
Still looking for an answer here. Why could I not query the database and display the date using the form field even if the timestamp is 0000-00-00
Why does this script not allow 0000-00-00 00:00:00 to be used when pulling data from a record.
I am primarily looking to edit dates. I don't add dates when I initially create the record because most times I would not know the date until later. So I want to query the record and bring up all pertinent data to edit. Two fields are the start and stop dates.
if I pull this data from the table it gives me this error:
if (arr_date < 1 || arr_date > 12) return alert ("Invalid month value: '" + arr_date + "'.nAllowed range is 01-12.");