Refactored Date and Time; removed duplicated code, added time zone offsets and ISO 8601 formatting.