APIから日付文字列を取得しています。返される文字列は次のようになります。
2010-09-02T09:46:48.78
2010年2月9日(dd / mm / yyyy)に変換したいのですが
date_format($note['createdate'], "d/m/Y")
エラーの結果:
Warning: date_format() expects parameter 1 to be DateTime, string given in
誰かが私を正しい方向に導くことができますか?
ta、
ジョーニー