Jump to content

Complicated date format help needed


dwest

Recommended Posts

Disregard.

Found this function:

 

   	function reformat_date($date, $format){
// Function written by Marcus L. Griswold (vujsa)
// Can be found at http://www.handyphp.com
// Do not remove this header!

    $output = date($format, strtotime($date));
    return $output;
}

 

And it works like a charm.

 

Can be found here:

http://www.handyphp.com/content/view/10/16/

 

Hope this helps someone  :)

Disregard.

Found this function:

 

   	function reformat_date($date, $format){
// Function written by Marcus L. Griswold (vujsa)
// Can be found at http://www.handyphp.com
// Do not remove this header!

    $output = date($format, strtotime($date));
    return $output;
}

 

 

 

 

And it works like a charm.

 

Can be found here:

http://www.handyphp.com/content/view/10/16/

 

Hope this helps someone  :)

 

 

that wont work. use what i posted

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.