Fix issue on date format storage (From float to double)

Fixed issue on date storage. 
NSTimestamp is a double, so if you cast it into float, you are loosing some precision resulting 50 seconds between before storage and after.