Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
さて、「m/d/YH:i:s」として設定されたカスタム日付フィールドがあり、それを「M j」としてエコーしたいと思います。どうすればいいですか?
m/d/YH:i:s の形式で保存されている場合は、テンプレートで日付がエコーされる場所ならどこでもこれを行うことができます。
echo date('M j',strtotime($custom_date));