PHP
» PHP 5 »
. , .
14.1. - http://php.net/manual/
a | Ante meridiem Post meridiem | am pm |
A | Ante meridiem Post meridiem | AM PM |
B | Swatch Internet | 000 999 |
ISO 8601 2004-08-1419: ( 5) | 46:43+04:00 | |
d | , 2 | 01 31 |
D | Sun | |
F | January December | |
g | 12- | 1 12 |
G | 24- | 0 23 |
h | 12- | 01 12 |
24- | 00 23 | |
i | 00 59 | |
j | 1 31 | |
l | Sunday Saturday | |
L | 1, , 0 | |
m | 01 12 | |
M | , 3 | Jan Dec |
n | 1 12 | |
O | : +0200 | |
s | 00 59 | |
t | 28 31 | |
w | 0 () 6 () | |
Y | 4 | |
2 | ||
z | 0 365 |
- , , \ ( 14.3).
14.3. .
‹html›
‹head›
‹title› ‹/title›
‹/head›
‹body›
‹?php
echo date("\\t\he \\t\i\me \i\s H:i:s");
// "the time is 14:21:15"
?›
‹/body›
‹/html›
, t , \t .