This document is for a version of CakePHP that is no longer supported. Please upgrade to a newer release!

Date & Time

class Cake\I18n\Time

Примечание

The documentation is not currently supported in Russian language for this page.

Please feel free to send us a pull request on Github or use the Improve This Doc button to directly propose your changes.

You can refer to the english version in the select top menu to have information about this page’s topic.

Creating Time Instances

Dates

Immutable Dates and Times

class Cake\I18n\FrozenTime
class Cake\I18n\FrozenDate