Returns User Last Visit Date.
Basic usage:
{{ user.lastvisitdate }}
Usage with parameters:
{{ user.lastvisitdate(User ID, Format) }}
Parameters:
User ID
(optional) – To get the Last Visit Date of the specific user, leave it blank to get the Current User’s Last Visit DateFormat
(optional) – PHP date format i.e. ‘Y-m-d H:i:s’ or Joomla defined format (language supported) if left empty. ‘timestamp’ to return the datetime in UNIX timestamp format.
Example:
{{ user.lastvisitdate("","Y-m-d") }}
Leave a Reply
You must be logged in to post a comment.