You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from the number of hours, we can calculate 292 years but we are in 2023 now.
The text was updated successfully, but these errors were encountered:
ErfanMomeniii
changed the title
time: since or time.Now().Sub(t) returns wrong when t is time.date of start of the calender
time: since or time.Now().Sub(t) returns wrong when t is date of start of the calender
Jul 17, 2023
ErfanMomeniii
changed the title
time: since or time.Now().Sub(t) returns wrong when t is date of start of the calender
time: since or time.Now().Sub(t) returns wrong when t is start date of the calender
Jul 17, 2023
What version of Go are you using (
go version
)?What did you expect to see?
I wanted to calculate the number of seconds that have passed since the start of the calendar.
it returned the wrong answer.
from the number of hours, we can calculate 292 years but we are in 2023 now.
The text was updated successfully, but these errors were encountered: