|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this 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
|
|||
|
|||
|
im having trouble formatting the db field for storing the date...
not sure exactly how to set up the field. im using: date("D, F d h:i a") and i have the db row setup as 'DATETIME' output looks like this: 2002-12-11 00:00:00 what stupid thing am i doing? ![]() |
|
#2
|
|||
|
|||
|
Papasmurf,
Because you're using the DATETIME datatype, the default format is: YYYY-MM-DD HH:MM:SS, so you'll need to insert your date as: date("Y-m-d G:i:s"); See if that helps!
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
![]() |
| Viewing: Dev Articles Community Forums > Databases > General SQL Development > easy db setup question |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|