Server time keeps changing.

Discussion in 'Site & Server Administration' started by bigrollerdave, Apr 30, 2007.

  1. #1
    Just using the simple script <?= time(); ?> will display two different times. This is a new dedicated server. My old server didn't have any issues with this. Is there anything obvious I could try? I changed my server time using cpanel but that doesn't help the cause at all. Thanks
     
    bigrollerdave, Apr 30, 2007 IP
  2. webhostingoffers

    webhostingoffers Guest

    Messages:
    171
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    try changing the time via ssh root:

    For example, set new data to 2 Oct 2006 18:00:00, type the following command as root user:
    # date -s "2 OCT 2006 18:00:00"
     
    webhostingoffers, May 1, 2007 IP