Saltar para o Conteúdo principal

How do I display dates in the US format in reports? - Knowledgebase / FAQs - DeskPRO

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

Lista de autores

In some geographies and organizations, date formats can appear differently to others. If you'd like to alter the format of the date in the reports you create, simply use the following clause to produce 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

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


For more information, please refer to our guide on making reports.

Útil Inútil

0 de 3 pessoas acharam esta Página útil

Adicionar um comentário

Inicie sessão ou registe-se para enviar um comentário.

Precisa de recordar a palavra-passe?