cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Change the datetime format of grid values using localization token

ranjank
14-Alexandrite

Change the datetime format of grid values using localization token

Hi Team,

 

In our application, default date time format is being used "dateTimeFormat_Default YYYY-MM-dd HH:mm:ss" in grid column values but we want to show at some place using this format "HH:mm:ss YYYY-MM-dd".

 

Please guide me how to get this format values display on grid.

 

Thanks in advance.

 

 

2 REPLIES 2

Hi @ranjank 

 

Date time format displayed in grid can be changed using the Localization Tokens defined in the Default localization table. Navigate to System> Localization Table> Default> dateTimeFormat_Default and update the format there.

 

Regards,

Sachin

cbrandy-2
6-Contributor
(To:ranjank)

In the "configure grid columns" menu of the advanced grid, you can format each column individually.

You can choose DATETIME  and either choose a localisation token or use your own format :

Screenshot 2021-03-19 at 10.07.00.png

Top Tags