timezone-aware times, Query API updates times, common function as helper