Android Question Statemanager save as a Long type

trueboss323

Active Member
Licensed User
Longtime User
Hello, I have Statemanager for saving settings and I use this code
Code:
StateManager.SetSetting("Starttime", DateTime.Date(DateTime.Now)&" " & DateTime.Time(DateTime.Now))

But the problem I think it saves the value as a string, so how can I save it as a Long value?
 
But the problem I think it saves the value as a string
Sure. You ARE giving a STRING...

Code:
StateManager.SetSetting("Starttime", DateTime.Now)
 
Upvote 0
Back
Top