changing milliseconds to seconds