How to get tomorrow's Date

How would i get the date of tomorrow, in format “yyyy/m/d”

You could also use the os.date format string directly to shorten it a bit!

print(os.date("%Y/%m/%d", os.time()+60*60*24))
6 Likes