Forum Discussion

Heisenberg_1452's avatar
Heisenberg_1452
Historic F5 Account
Mar 04, 2014

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_1452's avatar
    Heisenberg_1452
    Historic 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!