now taking in account timezone offsets