Community discussions

MikroTik App
 
jeroenp
Member Candidate
Member Candidate
Topic Author
Posts: 159
Joined: Mon Mar 17, 2014 11:30 am
Location: Amsterdam
Contact:

script repository update: new docs, new/updated scripts (mostly date/time related)

Sun Oct 23, 2016 8:05 pm

Two new updates to https://github.com/jpluimers/mikrotik-routeros

Feel free to post issues at https://github.com/jpluimers/mikrotik-routeros/issues

- documentation update in https://github.com/jpluimers/mikrotik-r ... README.rst
- updated and new scripts with:
Code cleanup, a first try at a toString function and date, time, dateTime related function scripts including:

- civilDateTimeToSecondsSince19700101
- civilDateToDaysSince19700101
- dateTimeToYYYYMMDDhhmmssNumber
- dateTimeToYYYYMMDDhhmmssString
- dateToYYYYMMDDString
- timeToHHMMSSString
- timeToSecondsSinceMidnight

The marking of `civil` is because these expect a Gregorian date whereas the other date functions don't care about the calendar system.
--jeroen

Who is online

Users browsing this forum: eggbean and 13 guests