by claar · 11y ago · 0 comments
Unix date command: Use +%Y instead of +%G
Java: Use yyyy instead of YYYY
Python: Use %Y (ISO-8601 year number is not available)
PHP: Use Y instead of o
Please contribute other languages in replies and I will add them.(edit: This post had originally suggested the post's title be changed to mention Java, thus vitno's reply below)