Jump to content

[SOLVED] Timestamp format with PHP


twilitegxa

Recommended Posts

I also should mention I have it saved in my database, so I want to pull the date and time from the database and display it in a certain format. The field is named currenttime and I have it display with this code:

 

echo $row['commenttime'];

 

so I don't know how to add the formatting to this line.

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.