HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Client Created (http://www.howtoforge.com/forums/showthread.php?t=46569)

guimnk 16th June 2010 16:34

Client Created
 
Hi all :)

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

Thanks

till 16th June 2010 17: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 21:52

Thanks Till..

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

till 16th June 2010 22:36

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

guimnk 16th June 2010 22:49

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

Look the imagem attached...

till 16th June 2010 22: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 19:24.

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