1.2.557. Incoming Date Formats

This is the list of format string used when creating dates.

This is particularly interesting for relative time strings inventories. This doesn’t collect the dynamical dates, built from strings. strtotime() and date::createFromFormat() are used.

<?php

echo strtotime("now"), "\n";

?>

See also DateTimeImmutable::createFromFormat.

1.2.557.1. Specs

Short name

Type/IncomingDateFormat

Rulesets

All, Inventory

Exakat since

2.4.2

PHP Version

All

Severity

Time To Fix

Precision

High

Features

date-format

Available in

Entreprise Edition, Exakat Cloud