Display last logon date on profile
You can implement template_preprocess_user_profile

In your theme's template.php file add:

function MYTHEMENAME_preprocess_user_profile(&amp;$vars) {
  $vars['user_profile']['last_login'] = array(
      '#markup' =&gt; t('Last login') . ': ' . format_date($vars['user']-&gt;login, 'medium'), // prints the actual last login time using the medium date format
      '#weight' =&gt; 99, // defines location
  );
}


Clear the cache and check the user profile page (e.g. /user/1)