for example i got a date 23/07/2017. I need to find out which day exactly it was.
(If we get the day no. in a week then its piece of a cake)
os.date("%w", os.time({year = 2000, month = 5, day = 11, hour = 0}))
time = os.time{year=2017, month=7, day=24} print(os.date("%A", time))