Ismaeel_Butt_30
Feb 19, 2018Nimbostratus
Time based restriction and termination of SSL VPN
Hello,
Can i add date and month as well in below variable assign for deleting the ssl vpn session? Below i have found on internet, it works fine with time but how i can add date and month?
set endhour 22; set endmin 18; set starthour [clock format [mcget {session.user.starttime}] -format %H]; set startmin [clock format [mcget {session.user.starttime}] -format %M]; return [expr {( $endhour * 3600 ) + ( $endmin * 60 ) - ( $starthour * 3600 ) - ( $startmin * 60 )}]
Thanks,