Community discussions

MikroTik App
 
mike89klein
just joined
Topic Author
Posts: 1
Joined: Wed May 03, 2023 8:52 pm

Script to calculate yesterday date

Wed May 03, 2023 9:00 pm

Hello everyone!

Who can help in script to calculate date yesterday? I find different topic like this viewtopic.php?f=9&t=127050&p=625209#p625209 and this web page https://aacable.wordpress.com/2018/01/2 ... -mikrotik/ with code for calculating yesterday date.

But when we using this script, example, begin on month (May/01/2023), he gives (May/0-1/2023). I understand about how fix error in month with "if", but dont know how fix day.Please help.

Thanks!

Who is online

Users browsing this forum: No registered users and 26 guests