Jump to content

MySQL date


Remorse

Recommended Posts

Posted

Why when I lf a date to display on my website its displayed like this : 1551181916

                                                                                                                                         POST                 USER             DATE

  • Class balance system | Remorse | 1551181916

 

I'm trying to find information from mysql

 

To show : last active post and the username and date any help? ssql query 

Posted

This are my 10 recently posts on forum.

53a9d33b65b5ea3dd39e6be0cb4c3e21.png

 

 

I want to do the same info, and share it on my website like the 10 last active posts

Posted

If you have Pages, I would recommend simply creating a custom block in pages and then using the existing "Embed externally" feature, which will give you some javascript code you can insert into your website to display the block.

To answer your original question, what is stored is known as a timestamp, and the PHP date function (among others, such as strftime) can convert that to a human-readable date.

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...