parsing date and time info