minor refactor
add xml date time extraction