# Date format version 3.3

**URL:** <https://discourse.cakephp.org/t/date-format-version-3-3/1079>\
**Category:** Need Help\
**Created:** [August 31, 2016, 3:58pm UTC](https://discourse.cakephp.org/t/date-format-version-3-3/1079 "2016-08-31T15:58:52Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Diego](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/diego/32/296_2.png) [@Diego](https://discourse.cakephp.org/u/Diego)\
**Post date:** [September 27, 2016, 12:20pm UTC](https://discourse.cakephp.org/t/date-format-version-3-3/1079/15 "2016-09-27T12:20:51Z")

</div>

```
\Cake\I18n\Time::setToStringFormat('Y-m-d H:i:s');
\Cake\I18n\Date::setToStringFormat('Y-m-d');
\Cake\I18n\FrozenTime::setToStringFormat('Y-m-d H:i:s');
\Cake\I18n\FrozenDate::setToStringFormat('Y-m-d');

```

this maybe help

> [@CakePHP Locale pt\_BR and DateFormat](http://discourse.cakephp.org/t/cakephp-locale-pt-br-and-dateformat/1002):
>
> Hi ! I am trying to localize my Cake 3.3 app to portuguese “Brasil”. I’ve downloaded [this](https://raw.githubusercontent.com/jrbasso/cake_ptbr/master/src/Locale/pt_BR/cake.po) and saved in C:\Apache24\htdocs\cake3\src\Locale\pt\_BR I’ve changed the defaultLocale in C:\Apache24\htdocs\cake3\config\app.php to ‘defaultLocale’ =\> env(‘APP\_DEFAULT\_LOCALE’, ‘pt\_BR’) But Cake is still in english and I have tried to change the date format in C:\Apache24\htdocs\cake3\config\bootstrap.php with: // Configure a custom datetime format parser format. Type::build('date') -\>useLocaleParser…

---

_[View the full topic](https://discourse.cakephp.org/t/date-format-version-3-3/1079)._
