Forum Discussion
Version of Tcl?
Hello All,
How do I find out what version of Tcl we use? The reason I ask is that I am trying to find the current time in another timezone. According to MANY sources I found, I should be able to do something like below. However, I receive an error. The -timezone parameter requires Tcl 8.5, hence the question.
set s [clock scan {2004-10-30 05:00:00} -format {%Y-%m-%d %H:%M:%S} -timezone :America/New_York]
Assuming that I cannot use that parameter, has anyone else attempted to determine the current time in another timezone with iRules. I found something with iControl. But I need to do it with iRules.
Cheers!
1 Reply
- Heisenberg_1452Historic F5 Account
Answered the first part of the question. Figured out how to display the version in script......8.4 - so, the -timezone option does not work.
Cheers!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com