Do something every 24 hours

Hello guys! Just a quick question for you: how can i wake some function every 24 hours? I want to implement the Daily Bonus, so when player enters the game,  function would check previously saved time data and if it’s +24 then fire a function. What’s the code will look like? Thank you!

Check out the Corona Time and Dates Tutorial.
http://www.coronalabs.com/blog/2013/01/15/working-with-time-and-dates-in-corona/

This is a use for local notifications. 

http://docs.coronalabs.com/guide/events/appNotification/index.html

Thank you very much! Figured out easily with provided links!

Check out the Corona Time and Dates Tutorial.
http://www.coronalabs.com/blog/2013/01/15/working-with-time-and-dates-in-corona/

This is a use for local notifications. 

http://docs.coronalabs.com/guide/events/appNotification/index.html

Thank you very much! Figured out easily with provided links!