 As a Royal Page Student , ML Pin 's duties included various tasks in the royal household as well as accompanying the king in his various activities . The Royal Page Students were involved in plays and sports games held in court and also in activities of the king 's scouting @-@ related paramilitary movement , the Wild Tiger Corps . ML Pin also became an editor of the Dusit Samit Magazine , part of the king 's Dusit Thani miniature city / micronation project . One memorable task appointed to him by the king was to determine the day of week King Naresuan left Ayutthaya for his famous elephant duel , a problem ML Pin was unable to solve at the time , but became the inspiration for his later development of the " Everlasting Calendar " . He lived in the royal court most of the time and received a salary of twenty to thirty baht . 
