1

Hi i'm new at magento 2 and i want to change the date format on admin grid of yyyy-mm-dd for dd-mm-yyyy. date comlumn

date column code

1

You can change the format of the date. Add this line to your code

<item name="dateFormat" xsi:type="string">Y-MM-dd HH:mm:ss</item>

Modify the date format according to you . For more reference check this link ---

UI component - display the time to 'Y-m-d H:i:s' format(ISO time format)

Hope this help you

Thanks ...

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.