Added code to extract date and time from html