Made datetime calculation timezone-aware.