skip to Main Content

How To Convert dd-mm-yyyy ?

My Ajax Code

enter image description here

My Controller Code

enter image description here

Output

/Date(1608411600000)/

2

Answers


  1. Chosen as BEST ANSWER

    Solved

    new Date(parseInt(data.Result[item].Date.substr(6)))
    

  2. Please try following code in your javascript code block:

    new Date(parseInt(data.Result[item].Date)).toDateString()
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search