Parse time function added