Add in documentation for time_range function