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
Needed Driver
Does a website exists from where to download and reinstall Realtek AC'97 Audio (whole version) ?
Windows BMP - How to tell whether 24-bit, 16-bit, etc.
how can i change stagewidth and stageheight with as3
download .swf files from browser
Windows cannot obtain the domain controller name for your computer network
PDF to Excel
Migrating Informix ESQLC to Oracle Pro*C - Informix Proprietary Functions...
CONCAT strings
Check folder for new file