3 Replies Latest reply on Sep 7, 2016 10:12 AM by aanjan RSS
    rk-3 Explorer

    Change the date time format

    Hi,

     

    Currently I have a property of datetime type. I am getting date in below format.

    example: 2016-07-22 13:55:45.773

    I want to change the above date to 07-22-2016 01:55:45 PM.

     

    Aanjan Ravi Pai Chung

     

    Thanks

    Raju

      • Re: Change the date time format
        aanjan Heavyweight Champ

        Raju, the way timestamps are rendered is controlled by Localization Tables. Navigate to the Localization Tables section and open the Default table. The token 'dateTimeFormat_Default' controls how time is rendered. The default value is 'yyyy-MM-dd HH:mm:ss.SSS'. If you change that to 'yyyy-MM-dd HH:mm:ssA', it will display your time with AM/PM.