Wednesday, 4 September 2013

Go - Unix timestamp for first day of the week from ISO year week

Go - Unix timestamp for first day of the week from ISO year week

What's a good way of getting the timestamp for, say, the Monday 00:00:00
for the fifth week of 2010? Essentially I'm looking for the inverse
function to ISOweek in the time package. I can't seem to find a way to
achieve that. Parse() doesn't read week, and simply counting how many "7
days" there have been since the first day of the year/month doesn't really
get me what I need.
Thanks a lot in advance! Bill

No comments:

Post a Comment