Forum Discussion
Steds84_8430
Nimbostratus
Sep 15, 2009Clock add?
I am having trouble with the clock add function, could anyone give me an example has to how I would add a number of minutes to the current time
So far I have tried
set e...
hoolio
Cirrostratus
Sep 15, 2009Hi Brett,
iRules use TCL v8.4.x (You can use [info tclversion] Click here to verify this).
clock add was added in 8.5 (v8.5 release notes Click here). For time deltas, it's probably easier to get the time in unix time (seconds since the 1 Jan 1970 epoch using [clock seconds]) and then just use expr (Click here) to do the calculations.
If that doesn't work for your scenario, can you elaborate on it?
Thanks,
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects