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.
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.
Split date at t
and then select first item of list.
It’s not working can you please explain