1.2.324. Date Formats¶
Inventory of date formats used in the code.
Date format are detected with calls to date(), strftime(), gmstrftime(), date_format() functions and to the format() method on Datetime
and DatetimeImmutable
.
<?php
$time = time();
// This is a formated date
echo date('r', $time);
?>
See also Date and Time.
1.2.324.1. Specs¶
Short name |
Php/DateFormats |
Rulesets |
|
Exakat since |
0.12.16 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
Very high |
Features |
date |
Available in |