Fix datetime parsing --> stores datetime in s, need to retrieve into ms.