Web Hosting Talk







View Full Version : Server time


Lion
07-31-2001, 10:47 PM
How I can set time on my server to my area time +3 GMT.
Thank you.

Chicken
08-01-2001, 12:18 AM
I'd imagine it varies slightly from platform to platform. Any chance of posting this (unless someone else says that it doesn't matter of course).

neon202
08-01-2001, 11:55 AM
under linux

You must be root, then type "date MMDDhhmm[[CC]YY][.ss]".
Of course, replace MMDD... by the date you want.

cheers,

neon202
08-01-2001, 11:56 AM
to change time

Telnet into the server. Do an "su" to become the superuser. Use the command:

hwclock --set --date='mm/dd/yy hh:mm:ss' --utc

Of course, you change the mm/dd/yy hh:mm:ss to the real time. If you keep
the BIOS clock on UTC time (aka GMT), then keep the --utc. If you keep
the BIOS clock on local time, then don't use the --utc option.

Hope this helps,


sorry i posted how to change date in previous post.