strftime() and get_the_date(), what is wrong?

It was sent as Thai, but now it appears 2018.

setlocale(LC_TIME, “th_TH.UTF-8”);
echo strftime(“%A %e %B %Y”)

Yes, it says now 2017, but that is now only english
echo get_the_date(“l j. F Y”); //WordPress

Why does this happen? I want give it to thai, and 2017.

Read more here:: strftime() and get_the_date(), what is wrong?

Leave a Reply

Your email address will not be published. Required fields are marked *