DateTime and UTC fixes for cache invalidation