PHP print Month in French?

前端 未结 6 822
独厮守ぢ
独厮守ぢ 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:04

    First, you must set locale .. en UTF-8

    
    

    If your server don't accept it, you must use array and replace ..

提交回复
热议问题