Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15394

Scripting • Re: Calculate date and time in script

$
0
0
here is my current version:
Capture d'écran 2024-03-06 104531.png
and yes I tried:
Code:
         :local validitytime [:tonum [:totime $validity]];        :log info "validitytime: $validitytime";
and that doesn't work either

the variable $validity comes from the following code:
Code:
        :local validity [/tool user-manager profile limitation get $profileLimit value-name=uptime-limit];        :log info "validity: $validity";

Statistics: Posted by Philippe57 — Wed Mar 06, 2024 11:51 am



Viewing all articles
Browse latest Browse all 15394

Trending Articles