I have a table which enters date & text field. When there is no value entered, the date is saved as 1900-01-01 while the text field saves as blank in the DB.
In the output table, i want to display '--' instead of 1900-01-01 & blank space.
What are you sending to your database as value?
What is the exact value your db returns, you can see it in the network > XHR tab in the browser dev tools.
Are you sure this is the value your db returns - 1900-01-01 and not 0000-00-00?
Can you just check what the server action actually returns in the Network > XHR as explained here: