Though it may seems very simple, I am trying hours on this.
Hello, everyone, I am storing double value in a SQLite Database in iPad application.
I am fetching all the records using simple "Select * from tableName" query.
then I am converting this patient_dos value to double.
But this is what it prints when I display content of the first patient dictionary.
"patient_dos" = "1461561219160.408936";
and this below is the value I get after converting this value in to double variable.
Printing description of patient->_dos:
(double) _dos = 1461561767624.27
My main concern is to match this double, It is actually a Timestamp, of the Day when patient admitted without HH:MM:SS information.
Aucun commentaire:
Enregistrer un commentaire