do not want to show milliseconds.
do not want to show milliseconds.
krishanu_debnath
Posts: 18Questions: 1Answers: 0
I am storing '2022-06-25 16:15:01' in my database, but when I display data using datatable using both way ( ajax call or call function directly) , it appears like '2022-06-25 16:15:01.0'. Which I don't want. I want it to appear like '2022-06-25 16:15:01' exactly same as database, which is ideal for me..
Replies
Just make sure you return the proper format from the server and make sure you don't do any client side rendering.
So we can check what the server is returning, can you use the debugger to give me a trace please - click the Upload button and then let me know what the debug code is.
Allan