redss
Apr 27 2004, 10:38 PM
I have a perl script on a web server in a different time zone. Is there a way that I can make the date command output the date in my timezone rather than the time zone of the server?
spinynorman
Apr 27 2004, 11:10 PM
Like this?
CODE
[steve@localhost steve]$ date +%c
Tue 27 Apr 2004 00:04:01 BST
redss
Apr 29 2004, 05:35 PM
Thats it, should mention that the TZ environment variable needs to be set first. thanks!