gets time from URL