Parse XML timestamp into datetime object