Jump to content

MySQL date


Recommended Posts

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 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites


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

  • Recently Browsing   0 members

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