No Setup Date on imported sites -- How to modify?

LSVF

Member
Sep 17, 2003
9
0
151
GEORGIA
When I migrated sites from Ensim to Cpanel, no "setup" dates were put on the sites -- all say "unknown". I didn't notice this until I downloaded a trial version of WHMAUTOPILOT and tried to import sites. It would not import the sites I had transferred from the Ensim box -- only the new sites I had created since the migration. The Whmautopilot creator said it could not import sites that did not have a setup date and suggested I do a global date change on the sites.

Can someone tell me how to do this?

Many thanks ....
 

mikelegg

Well-Known Member
Mar 29, 2005
330
3
166
Edit User Files

To do this you need to log in to your server using Putty or other remote terminal software. Then edit each of the user configuration files found at var/cpanel/users/username and modify the line "STARTDATE=xxxxxxxxxx" so that xxxxxxxxxx equals the setup date you want for each account in epoch format. (ie. Unix Timestamp - the number of seconds since 1/1/1970).

A quick tool to convert normal date format to epoch format can be found at http://www.esqsoft.com/javascript_examples/date-to-epoch.htm