Jump to content

Output Member Joined Date in Unix Format?

Featured Replies

Posted

if I am putting this in my template, how it is showing me a fully formatted date time. 

{member="joined"}

how can i do that but have it be in a unix timestamp?

  • Author

Here is the answer if anyone needs help with something like this.  Thank you Adriano...

 

Inside a JS, then you need to create a variable.

{{$joinedDate = \IPS\Member::loggedin()->joined;}}

Then you can use on JS:

{$joinedDate->getTimestamp()}

 

Archived

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

Recently Browsing 0

  • No registered users viewing this page.