HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   General (
-   -   Client Created (

guimnk 16th June 2010 17:34

Client Created
Hi all :)

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


till 16th June 2010 18:46

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/

guimnk 16th June 2010 22:52

Thanks Till..

And the field "created_at" of table "client" ?

till 16th June 2010 23:36

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

guimnk 16th June 2010 23:49

1 Attachment(s)
In my table, it's not empty..

Look the imagem attached...

till 16th June 2010 23:58

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.

All times are GMT +2. The time now is 08:38.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.