Script to find the day of the week eg sun,mon,tue etc

Full version of the @rextended script:

http://forum.mikrotik.com/t/date-parts-weekday/162769/1

BR.