[nycphp-talk] Help converting MySQL datetime to month

csnyder chsnyder at
Thu Oct 19 21:39:49 EDT 2006

On 10/19/06, Randal Rust <randalrust at> wrote:
> I have a function that does what I want, I just find it hard to
> believe that there isn't something better. So any pointers would be
> greatly appreciated.

linux/unix only I think:

function convertDatetime($value){
  return date( 'F d, Y', strtotime( $value ) );

Chris Snyder

More information about the talk mailing list