Changed to return seconds rather than milliseconds.
Changed to use set method to assign value back in to config.