Posts: 66
Threads: 10
Joined: Mar 2012
Reputation:
0
Hello,i want a tutorial about how to save Hours/Minutes/Seconds on SQLite.
Thanks!
Posts: 66
Threads: 10
Joined: Mar 2012
Reputation:
0
thx..but i need a tutorial..about HOURS/MINUTES/SECONDS...not this
Posts: 2,421
Threads: 52
Joined: Mar 2009
Reputation:
0
Just save it as you would save any other string.
Posts: 66
Threads: 10
Joined: Mar 2012
Reputation:
0
yes..but need to create timers...and i do not know how to create this..
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
You only store the integer value in the table, not the individual variables. So yes, you do need to decode it.
Posts: 2,421
Threads: 52
Joined: Mar 2009
Reputation:
0
Not if you store the time/date as a string.
EDIT: I see what you mean vince, for things like time played it should really be stored as integer, but if it's for something like join date it would be better to store as a string, then you don't need to use a function to convert it when the value will never change.