I have a string coming in from the database say, ExpectedDate. I get the string in as 2015-07-08T00:00:00. I want to be able to remove the T00:00:00.from the string. Is this possible in MVC from the homecontroller javascript? if so, how?
I've tried to use a replace function, but I can't find the replace method in the MVC javascript file. What am I doing wrong?
Please help!