> 
> **Possible Duplicate:**  
> 
> [Formatting a timestamp](https://stackoverflow.com/questions/1689843/formatting-a-timestamp) 
> 
> 
> 

I require a php function that returns the date in the format in the same format as mySQL function CURRENT\_TIMESTAMP (i.e like this--> 2011-08-10 17:17:23).

Wondering if there's anything available