PHP print Month in French?

前端 未结 6 913
独厮守ぢ
独厮守ぢ 2020-12-18 10:27

I want to print the date in french like:

le 25 février 2014

This is my PHP code I used but it\'s not working.

setlocale(LC_         


        
6条回答
  •  半阙折子戏
    2020-12-18 11:19

    Your system may not have the french translation. I had this problem also in the past. For Linux/Ubuntu here's how to add a locale: https://askubuntu.com/questions/76013/how-do-i-add-locale-to-ubuntu-server

提交回复
热议问题