I tried ths
$Date = date("Y-m-d-h-m");
In order to get 2007-06-04 12:30 but it didnt work. Can someone show me the right code to make this work.
$Date = date("Y-m-d");
works fine but I need the hour and minute in order to sort a little more precise.
dear,
Use date("Y-m-d h:i:s");
h for Hours i for Minutes s for Second
thanks, Salman Shafiq http://tutorialphp.blogspot.com
Never mind Can I just use ("Y-m-d h:i"); if i dont what seconds
Yes Dear, You can use date("Y-m-d h:i");
Thanks, Salman Shafiq http://tutorialphp.blogspot.com