Let's say I want to change April 5, 2019
into 2019. április 5
which is from English to Hungarian language.
FYI my date value is automatically grabbed using date('F d, Y', strtotime($row['release_date']))
from a website as the data source
Strftime is not working for me because it's only changing the local time.
I've tried this way but it's not working, it's still displaying the original language
setlocale(LC_TIME, "HU");
utf8_encode(strftime(date('F', strtotime($row['release_date']))));