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.
データベースを呼び出すときに、データベースの日付と時刻の形式を変更するにはどうすればよいですか?
現在は次のとおりです。
YYYY-MM-DD Days:HH:MM
しかし、私はそれが必要です:
DD-MM-YYYY Days:HH:MM
私はこのアプローチを試しました
FORMAT(s.date, 'DD-MM-YYYY')
しかし、それは私に次のようなものを与えます:
20,130,618,232,643
時間が含まれているからだと思います。