refactor date time for tagged events