Forum Discussion
Chad_Roberts_21
Nimbostratus
May 16, 2006Time-based iRules
I hope this question is unique enough to be worthy of a new post. Unfortunately, searching for the word "time" with various other keywords didn't appear to be specific enough to find my anything of in...
JRahm
Admin
May 16, 2006absolutely! You can use the TCL clock command to get the current time.
http://tmml.sourceforge.net/doc/tcl/clock.html
This will set a variable to record the current hour and minute:
set time_current [clock format [clock seconds] -format {%H:%M}]
9.2 fixed a performance issue with using the clock command. You can probably find the post by searching for clock.
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
