retrieve time with native js Date.now()