Right now, the code only returns the time in milliseconds. It would be nice if we have the option of returning in seconds. HINT: use parameters