Microsoft
Software
Hardware
Network
Question : Juggling date formats
Hi expert,
Ive got this date picker that collects a date in this format (dd-mm-yyyy). But I need to store my value in the DB like yyyy-mm-dd
How can I change the value in PHP?
Thanks
Answer : Juggling date formats
Provided the date always comes from your input at dd-mm-yyyy (and not some other format)....and assuming you populate variable $inputDate with this value:
$sqlDateFormat=substr($inp
utDate,6,4
) . substr($inputDate,2,3) . "-" . substr($inputDate,0,2)
Random Solutions
Your system has recovered from a serious error
Sybase Central Found server but connection error occurred
shutdown 2000
Please check my mod_rewrite
exchange 2003 inbound email
How do I recover a password which I have forgotten?
Open 1 form close another - only 1 form active at a time
exec(<string>) & cursor in SQL6.5
Powershell and exchange 2003 and mailbox folder size
Vista Sidebar grow exponencially in ram