주 콘텐츠로 건너뛰기

How do I display dates in the US format in reports? - 지식 베이스 / Using Deskpro / Reports - Deskpro Support

How do I display dates in the US format in reports?

저자 리스트

In some geographies and organizations, date formats can appear differently from others. If you'd like to alter the format of the date in the reports you create, simply use the following clause to produce the desired results:

SELECT DATE_FORMAT(tickets.date_created, '%Y-%m-%d') AS 'Date created'

For example, the following query:

SELECT DATE_FORMAT(tickets.date_created, '%Y-%m-%d') AS 'Date created', ticket_messages.date_created

This will create the following result, where the month value is displayed prior to the day value:

도움이 되었습니다 도움이 되지 않음

이 페이지가 도움이 된다고 생각하는 사람들의 수 34 / 66