Solved

What is the Created, Access and Login fields in Drupal User Table ?

Posted on 2014-01-31
4
829 Views
Last Modified: 2014-02-20
How do I convert these integers into human readable format?
fields.JPG
fields.JPG
0
Comment
Question by:sandshakimi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 17

Expert Comment

by:nanharbison
ID: 39824406
These are timestamps, right? If you have the token module enabled, you can see how to refer to date formats in Drupal:
https://drupal.org/node/390482#drupal7tokenslist-token-date
0
 
LVL 13

Expert Comment

by:Arrow_1
ID: 39824799
These are unix timestamps representing a date and time. You can convert these into human readable formats using Drupal's format_date() function.

The 'created' timestamp represents the date and time the account was created. The 'access' timestamp represents the last time the user accessed the site. The 'login' timestamp represents the last time the user successfully completed the login process.
0
 

Author Comment

by:sandshakimi
ID: 39835516
But if I want to export the User table to an .cvs file (to open in Excel), what SQL do I write so it exports readable date/time format for these fields, and not the current Unix format ?
0
 
LVL 13

Accepted Solution

by:
Arrow_1 earned 500 total points
ID: 39837386
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been using r1soft Continuous Data Protection (http://www.r1soft.com/linux-cdp/) for many years now with the mySQL Addon and wanted to share a trick I have used several times. For those of us that don't have the luxury of using all transact…
Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question