TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

An intuitive way to format date and time

4 pointsby dahliaabout 14 years ago

1 comment

BarkMoreabout 14 years ago
The format is intuitive to read, but I always find myself going here <a href="http://golang.org/src/pkg/time/format.go#L50" rel="nofollow">http://golang.org/src/pkg/time/format.go#L50</a> when I am writing a format string.<p>It's definitely an improvement over strftime because I need to lookup the escape codes when reading or writing a format string.