Client Created

Discussion in 'General' started by guimnk, Jun 16, 2010.

  1. guimnk

    guimnk Member

    Hi all :)

    How can I do to get the date of client creation?

    Thanks
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The date is not stored in the database. But it might be possible to get the date when a client got created by looking on the creation date of the client folder in /var/www/clients/
     
  3. guimnk

    guimnk Member

    Thanks Till..

    And the field "created_at" of table "client" ?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The field is not in use yet. If you look at the database, then you see that its empty.
     
  5. guimnk

    guimnk Member

    In my table, it's not empty..

    Look the imagem attached...
     

    Attached Files:

  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok. Might be bthat I had a older version here that I looked at. The field contains a timestamp in seconds counted from 1. january 1970, thats the way dates are counted in Linux. You can calculate a human readable format of a timestamp e.g. with the date function in php.
     

Share This Page