Morning Everyone (for those in a appropriate time zone),
I want to add a daily message to my app, just small random messages that i have stored in a file. How do i get it so that the message remains the same until the next 24 hour period where it would then change.
Right now I have it that on start of the application the message is different every time. Would I have to store the current message in a file, and read that file on start up and then on every 24 hour period read my other file in order to change it up? Or is there another/better way of accomplishing this?