Store dates in milliseconds