Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'A PHP script to display the time in a given location' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A PHP script to display the time in a given location
Authored by: jakacmar on Jan 30, '04 02:26:33PM
Not sure if I saw it here or somewhere else, but another way to use this is to simply make an alias in your .bashrc (or whatever Apple has decided to use) file (if you're using bash of course.) I always need to know the time in South Korea and so I set up and alias name "seoul" that looks like

alias seoul='env TZ=Asia/Seoul date'
remember to export the alias and then typing seoul at the command line will return the current time and date in South Korea.

[ Reply to This | # ]