get the date time from the iso8601 string format
add case where user have not taken the test to cover all cases