$dh = Core::make('helper/date');
Code | en_US | ja_JP | it_IT | ru_RU | zh_CN |
---|---|---|---|---|---|
echo $dh->formatDateTime($date); | 10/31/19, 5:06 PM | 2019/10/31 17:06 | 31/10/19, 17:06 | 31.10.2019, 17:06 | 2019/10/31 下午5:06 |
echo $dh->formatDateTime($date, true); | Oct 31, 2019, 5:06 PM | 2019/10/31 17:06 | 31 ott 2019, 17:06 | 31 окт. 2019 г., 17:06 | 2019年10月31日 下午5:06 |
echo $dh->formatDateTime($date, false, true); | 10/31/19, 5:06:38 PM | 2019/10/31 17:06:38 | 31/10/19, 17:06:38 | 31.10.2019, 17:06:38 | 2019/10/31 下午5:06:38 |
echo $dh->formatDateTime($date, true, true); | Oct 31, 2019, 5:06:38 PM | 2019/10/31 17:06:38 | 31 ott 2019, 17:06:38 | 31 окт. 2019 г., 17:06:38 | 2019年10月31日 下午5:06:38 |