I’m using CakePHP 3.4.
I have set my database timezone to UTC. I am from IST Timezone.
To display DateTime in IST Timezone, this is what I’m doing.
<?= $this->Time->format($user->created, \IntlDateFormatter::FULL, null, 'Asia/Kolkata') ?>
and this is Displaying Time as
Sunday, May 28, 2017 at 2:56:21 PM India Standard Time
I want to display Date in below format
May 28, 2017 2:56:21 PM IST
How I can achieve this?