Forum Discussion
rleclerc_120926
Nimbostratus
Jan 08, 2013iRule to drop or allow base on cookie value and date
I need to put together an iRule that either allows or drops traffic based on a cookie value and the day of the month. So if cookie value ends in 0,2,4,6,8 and day of the month is 2-30 (all even numbe...
hoolio
Cirrostratus
Jan 09, 2013Good catch Nitass. We should use %e in the clock format command to get the day of month without 0 padding:
%d
Day of month (01 - 31).
%e
Day of month (1 - 31), no leading zeros.
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
