Changing date format on list

Change Date format on listview.

I was imported data from blogger API to make list. But the date was showing like this.
How to change it in to normal date.

Follow this code!

$newpost->setPublished($date->format(DateTime::RFC3339))

How I don’t understood can you please explain with block

As we all know IST is 5h30min ahead of GMT so you have to add 5h 30min in original time.

I want to show only date no time required.

2019-09-08T11:24 12+05:30

into 08/09/2019 or like this

Split date at t and then select first item of list.

It’s not working can you please explain

See below:

3 Likes