Japanese Date in this format

后端 未结 5 1468
醉酒成梦
醉酒成梦 2020-12-17 23:52

I\'m wanting show the Date in Japanese in this format:

2010年2月18日(木)

which translates to:

February 18, 2010 (Thu)

in PHP

This is the

5条回答
  •  旧巷少年郎
    2020-12-18 00:28

    here is what i used...Ripped from Cameron's code ;-)

    $days = array("日","月","火","水","木","金","土");
    $date = @date('Y年 m月 d日 (').($dys[@date("w")]).('曜) ').@date('H:i');
    

提交回复
热议问题