Added getting the time as epoch milliseconds