Jump to content

How do I display a user's join date in the post bit?


Kirill N

Recommended Posts

  • 2 weeks later...

@ForeverPontiac, the date returns as an object (\IPS\DateTime) so you can use format. I'm working to update my hook (http://community.invisionpower.com/files/file/4821-enhanced-joined-date/) and it uses the joined date as well. That's how I did to format it:

$joinedDate->format( 'm/d/Y' );

However I use it on a PHP function, not on template... don't know how you can do this on a theme hook.

Link to comment
Share on other sites

  • 2 years later...

Archived

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

  • Recently Browsing   0 members

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