The Golang documentation defines "Mon Jan 2 15:04:05 MST 2006" as the reference time used in time formatting and parsing functions. But where does this peculiar date and time come from?
Immediately following the reference to the layout, the documentation provides a clue:
Since MST is GMT-0700, the reference time can be thought of as 01/02 03:04:05PM '06 -0700.
The reference time follows an ascending pattern:
The use of 3 PM (03:04 PM) instead of 3 AM (03:04 AM) is likely to ensure that the two-digit hour representations, 15:04 and 03:04 PM, are clearly distinguishable.
Disclaimer: All resources provided are partly from the Internet. If there is any infringement of your copyright or other rights and interests, please explain the detailed reasons and provide proof of copyright or rights and interests and then send it to the email: [email protected] We will handle it for you as soon as possible.
Copyright© 2022 湘ICP备2022001581号-3