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
PayPal
2008 AD, MOSS with 2003 AD, MOSS
Changing dynamic text from a button rollover
Signals and Interrupts
Routing connector isn't forwarding mail between Exchange 2003 and Exchange 2007
Best Practice for WSUS administration
Exchange 2007: Maximum Recipients per email
Outlook 2003 sending but emails not being received
Can someone recommend a good free training/emulation software for Cisco?
Changing record source for the code