Formatting dates

If Go date formats confound you (like they do to me), and you understand the C-style % format, this site may be helpful:

You just type in your format string (replacing the placeholder values of “%B %e, %Y”) and the page shows you the corresponding Go date format.


I think the Go format is kind of, I don’t know, cute? Certainly different than other languages I know :slight_smile:

But that was an excellent site, will need to remember it…

Why the 2006s? Was it invented then?

It’s 1 2 3 4 5 6 …
Jan 02 15:04:05 2006


@spf13, wow!