Know the setup date of an account

equens

Well-Known Member
Feb 8, 2002
278
3
318
How can I know the setup date of an account from cpanel? I want to show the year graph in cpanel home but only in accounts with more than 30 days.

HTML:
<img src="/tmp/<cpanel print="$ENV{'REMOTE_USER'}">/bw-<cpanel print="$ENV{'REMOTE_USER'}">-2006.png" width="400">
Thanks!
 

jayh38

Well-Known Member
Mar 3, 2006
1,213
0
166
/etc/vdomainaliases will show the date the file was created. That is never
changed after it is created so the date and time should be accurate.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,465
30
473
Go on, have a guess
The creation date is stored in /var/cpanel/users/account in the STARTDATE field. The number is in unix epoch time format (seconds).