Here is what I am using to try to save the current date and time:
But when I try to load it, I get something like "1424645748955" , which I have no idea what it means. How can I change the format so it appears as mm/dd/yyy hh:mm:ss ?
B4X:
'Saving
currentdatelbl.text = DateTime.now
StateManager.SetSetting("CurrentDate",currentdatalbl.Text)
'Loading
currentdatelbl.Text = StateManager.GetSetting("CurrentDate")
But when I try to load it, I get something like "1424645748955" , which I have no idea what it means. How can I change the format so it appears as mm/dd/yyy hh:mm:ss ?