Jump to content

[SOLVED]Last Login date Wrong


Colin

Recommended Posts

Hi again,

I have added the last login date to the pilot centre and for what ever reason it is displaying, Last Login: 01/01/1970, Would some one be able to point me in the right direction to change this to show the correct date please.

As always any help greatly appreciated :wub:

Link to comment
Share on other sites

  • Moderators

you may made a few mistakes here. you need to add the date function to parse the date.

<?php echo date(DATE_FORMAT, $userinfo->lastlogin);?>

<?php echo date(DATE_FORMAT, $userinfo->lastflight);?>

Link to comment
Share on other sites

Tried both of those mate and still says 1970, is it possible that the date may be wrong somewhere or needs setting ? just spit balling, the pop up news on the home page shows the correct date which I suppose blows that theory out of the water, any other suggestions ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...