|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
datetime
hi,
i have a date field in my mysql database which is of datetime type... i want the value of that field displayed on the webpage in mm-dd-yy format...i am using php...any tips |
|
#2
|
|||
|
|||
|
RE: datetime
I would just use the DATEFORMAT function of mysql...
SELECT DATEFORMAT(datefield, "%m-%d-%y") FROM table |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > datetime |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|