Daily Message

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?

I would start with using json with GGData. One json file, (or box, as they call it) with messages from 1-x, another box tracking what messages was last displayed with date. If same date show that message, if not show message+1. 

I would start with using json with GGData. One json file, (or box, as they call it) with messages from 1-x, another box tracking what messages was last displayed with date. If same date show that message, if not show message+1.