Jump to content

Customising output of $row->record_publish_date


Recommended Posts

I'm working on a template for a Pages database and would like to customise how the publish date displays. I know I can use


to get the full date but I'd like to be able to produce the day, month and year components separately. I know a little bit about how PHP formats dates but I'm afraid that I don't know how to apply that knowledge in this environment. Could anybody kindly offer some pointers?

Link to comment
Share on other sites

  • 6 months later...

When I do 

print_r ($record);

I get:

[record_edit_time] => 1562080148 
[record_publish_date] => 1562077740

So the data is there.

The problem is with the datetime function:


How to solve it?

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...