Jump to content

Covnertime timestamp to words?


EchoFool

Recommended Posts

Hey,

 

 

Is there a PHP function that converts a timestamp to words automatically?

 

 

I have the timestamp in this format:

 

 

0000-00-00 00:00:00

 

 

But i want it to display into words like for example:

 

Mon 12th December 2011 8:00PM

 

Can't work out how to do it with my own function it seems over complex to work out what day it would be so am wondering if PHP already has a such a function?

Link to comment
https://forums.phpfreaks.com/topic/247905-covnertime-timestamp-to-words/
Share on other sites

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.