From a64d60624a8cd0566b01cc83f36ab2c4a11866d7 Mon Sep 17 00:00:00 2001 From: Dawn Rose <63545980+tastethedream@users.noreply.github.com> Date: Mon, 5 Dec 2022 16:34:55 +0000 Subject: [PATCH] Update ex4-2.md Code changed to reflect QC2 section 3.2 --- ch04/ex4-2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ch04/ex4-2.md b/ch04/ex4-2.md index 6c10674..4c55208 100644 --- a/ch04/ex4-2.md +++ b/ch04/ex4-2.md @@ -11,7 +11,7 @@ void getCurrentDateTime(int hourDifference) { var timeNow = DateTime.now(); var timeDifference = timeNow.add(Duration(hours: hourDifference)); - print('London: $timeNow'); - print('New York: $timeDifference'); + print('The time now is: $timeNow'); + print('The time minus 7 hours is: $timeDifference'); } ```