"my script does not work" in v7.10

http://forum.mikrotik.com/t/warning-routeros-v7-10-will-break-all-scripts-based-on-system-clock-get-date-or-other-date-s/166576/1

stop spam on forum

the script is really shitty, this is what you want, but still shitty.

:local dateint do={
    :local days [ :pick $d 8 10 ];
    :local month [ :pick $d 5 7 ];
    :local year [ :pick $d 0 4 ];
    :return [:tonum ("$year$month$days")];
};