Jump to content

How do I remove this timestamp?


Moron

Recommended Posts

I have PHP code pulling a date from a database:

 

echo $RESULTYAB['TermExpires'];

 

It's displaying the date like..... Jun 30 2008 12:00AM

 

I want it to display only the "Jun 30, 2008" part. How do I truncate the timestamp off?

 

By the way, only the date is entered into the database, so PHP must be adding the timestamp.

 

Thanks!

 

 

Link to comment
https://forums.phpfreaks.com/topic/60594-how-do-i-remove-this-timestamp/
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.