How can I implement user timezone & user's last login in this format?
You can use the global $user object to get user details, or load user details from a uid like this: $user = user_load($uid); From the $user-&gt;login property you can get last login timestamp.

Thanks