Marius Vasile

Marius Vasile

  • 589
  • 1.9k
  • 148.6k

asp.net core date from json is displayed incorrectly in jquery

Mar 18 2021 5:04 PM
I get data from a json procedure but when I display a Date value I get different format
 
  1. $("#duedatep").html(data.woPlannerSCH.dueDateP);  
What I want is
 
3/17/2021 6:40:00 PM
 
What I get is
 
2021-03-17T18:40:00
 
How do I fix that? 

Answers (3)