The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Is there a way to change the setup date of a site?

Discussion in 'General Discussion' started by usdcservers, Jan 25, 2017.

  1. usdcservers

    usdcservers Member

    Joined:
    Jul 6, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    Years ago somewhere a long the way the setup date in WHM for older sites was set to 1969-12-31 19:00, is there anyway to change the date?

    Scott
     
  2. NOC_Serverpoint

    NOC_Serverpoint Well-Known Member

    Joined:
    Jul 3, 2016
    Messages:
    102
    Likes Received:
    6
    Trophy Points:
    18
    cPanel Access Level:
    Website Owner
    Hi,

    you can see one line in the /var/cpanel/users/user account, it will look something like this:

    Code:
    STARTDATE=1352914747

    Change that to the timestamp of the date you want it to be, and remember, this must be a timestamp in the proper format.

    Thanks,
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,288
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can modify the "STARTDATE=" entry for each user's file in the /var/cpanel/users/ directory. The "STARTDATE=" entry is configured in unix format:

    Unix Time Stamp - Epoch Converter

    Thank you.
     
  4. usdcservers

    usdcservers Member

    Joined:
    Jul 6, 2007
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    Thank you

    Thank You
     
Loading...

Share This Page