mehidy — 2011-04-11T04:38:47-04:00 — #1
I have a DB with some field. There are field as deliverydate & deliveryyearmonth.
In the deliverydate field date format is yyyy-mm-dd, now i want to input hidden value in the deliveryyaermonth field is "yyyy-mm" from the full date format for the field of deliverydate.
Is it possible to do it in php?
guido2004 — 2011-04-11T04:42:43-04:00 — #2
mehidy — 2011-04-11T04:54:46-04:00 — #3
Thanks, but sorry to inform you, I haven't got any good information on that link.
guido2004 — 2011-04-11T05:02:34-04:00 — #4
Why? You've got a string 'yyyy-mm-dd', you want to make it 'yyyy-mm', that page explains how to do it.
Why don't you post the code you have so far, and tell more specifically what the thing is you don't understand.