ISO 8601: Difference between revisions

From annawiki
No edit summary
 
(One intermediate revision by the same user not shown)
Line 30: Line 30:
http://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html
http://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html
  %F = %Y-%m-%d
  %F = %Y-%m-%d
==PHP==
http://php.net/manual/en/function.date.php
Y-m-d
*Y, m, d as in Glibc
*F differs from Glibc and means "A full textual representation of a month"

Latest revision as of 2014-11-14T05:03:09


HTML

1 2 3 4 5
1582-10-15 1582‑10‑15 1582‑10‑15 <nobr>1582-10-15</nobr> 1582-10-15
  • @1 using - (U+002D hyphen-minus)
  • @2 using "&#X;" with X=8209 (U+2011 non-breaking hyphen) - search for 1582-10-15 (method 1) possibly does not match
  • @3 using the sign itself (U+2011 non-breaking hyphen) - search for 1582-10-15 (method 1) possibly does not match
  • @4 using nobr-tag around method 1
  • @5 using span style="white-space: nowrap;"

Glibc

http://www.gnu.org/software/libc/manual/html_node/Formatting-Calendar-Time.html

%F = %Y-%m-%d

PHP

http://php.net/manual/en/function.date.php

Y-m-d
  • Y, m, d as in Glibc
  • F differs from Glibc and means "A full textual representation of a month"