Extracted time into variable