Hi all, when I use the 'date' command, our server gives the GMT time. But my current time should be GMT+8. How do I display my current time as GMT+8? Thanks in advance.
views:
26answers:
2Thanks zengr for your reply. But I have no root permission. (the server is badly maintain by a remote site admin.) Is there a way that I create a simple script, say myDate, to do it? Thanks.
Kenneth
2010-07-07 01:28:59
So, you want to display your local time (GMT+8) when you type "date" in your remote server's terminal? I assume you login by SSH.
zengr
2010-07-07 01:37:26
That's right. How can I do that? Thanks.
Kenneth
2010-07-07 01:45:23
You got the answer by @caf :)
zengr
2010-07-07 02:11:25