From 2d1f26302c50188b49bbaf17a92a276f61311f8f Mon Sep 17 00:00:00 2001 From: JamesP Date: Thu, 10 Sep 2015 19:29:26 +1000 Subject: [PATCH] Example: add extra getGmTime interval addition example --- lib/pure/times.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pure/times.nim b/lib/pure/times.nim index 94aeeffe17..3142952e70 100644 --- a/lib/pure/times.nim +++ b/lib/pure/times.nim @@ -29,7 +29,8 @@ ## echo "epochTime() float value: ", epochTime() ## echo "getTime() float value: ", toSeconds(getTime()) ## echo "cpuTime() float value: ", cpuTime() -## echo "An hour from now: ", getLocalTime(getTime()) + initInterval(0,0,0,1) +## echo "An hour from now : ", getLocalTime(getTime()) + initInterval(0,0,0,1) +## echo "An hour from (UTC) now: ", getGmTime(getTime()) + initInterval(0,0,0,1) {.push debugger:off.} # the user does not want to trace a part # of the standard library!