We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent7eb958f commite801d38Copy full SHA for e801d38
components/clock.rst
@@ -232,11 +232,11 @@ The constructor also allows setting a timezone or custom referenced date::
232
The ``DatePoint`` class also provides a named constructor to create dates from
233
timestamps::
234
235
- $dateOfFirstCommitOfSymfonyProject = DatePoint::createFromTimestamp(1129645656);
+ $dateOfFirstCommitToSymfonyProject = DatePoint::createFromTimestamp(1129645656);
236
// equivalent to:
237
- // $dateOfFirstCommitOfSymfonyProject = (new \DateTimeImmutable())->setTimestamp(1129645656);
+ // $dateOfFirstCommitToSymfonyProject = (new \DateTimeImmutable())->setTimestamp(1129645656);
238
239
- // negative timestamps (for dates before January 1, 1970) andfractional timestamps
+ // negative timestamps (for dates before January 1, 1970) andfloat timestamps
240
// (for high precision sub-second datetimes) are also supported
241
$dateOfFirstMoonLanding = DatePoint::createFromTimestamp(-14182940);
242