How to 'Show the time' to 'HH:MM:SS.MS' Globally?

How can I set a timestamp field to show in 'HH:MM:SS.MS' format Globally, It would work for me if I could do it via API also I am using '/api/dataset/json' api to fetch data for a given query which includes a timestamp field and I want it in 'HH:MM:SS.MS' format.
Is there any way to do it either from UI or from API ?

Screenshot 2024-06-20 at 13.07.47