You're absolutely right, of course.
Jon
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the
On Fri, Apr 21, 2023 at 5:27 PM jlfo...@berkeley.edu
wrote:
>
> Consider the program below.
>
> I want to compute the duration between a time that I put in the
> "old_time_str" variable and the current time. If I put the current time in a
> string, the program shows the correct duration. If I ge
Consider the program below.
I want to compute the duration between a time that I put in the
"old_time_str" variable and the current time. If I put the current time in
a string, the program shows the correct duration. If I get the current time
using time.Now() then the duration shown is 7 hours