Script otomatis hapus session till-time 5 menit yang lalu / expired { # author : niammuddin # company : PT. Subnet data nusantara # description : otomatis hapus session yang till-time 5 menit yang lalu / expired # date : 23-07-2022 :local sdate :local tillTime :local convertTillTime :local datenow [/system clock get date] :local timenow ([/system clock get time] - [/system clock get gmt-offset ]) :local monthsDict {"jan"="01";"feb"="02";"mar"="03";"apr"="04";"may"="05";"jun"="06";"jul"="07";"aug"="08";"sep"="09";"oct"="10";"nov"="11";"dec"="12"}; :local dateTime ([:pick $datenow 7 11].($monthsDict->([:pick $datenow 0 3])).[:pick $datenow 4 6].[:pick $timenow 0 2].[:pick $timenow 3 5].
All about Blogging, Networking, Development, Engineering and all my passion