Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

135
Views
How to pass 'dd/mm/yyyy' formated data through jquery?

I am developing an application using MVC. I am trying to pass a value (as parameter) using Jquery function which sends the value to a controller throgh ajax. The parameter is like '01/12/2021' which is date in 'dd/mm/yyyy' format. I am using an anchor tag like:

<a href='javascript:ViewDocDetails(@item.UploadDate.ToString())'>@Html.DisplayFor(modelItem => item.UploadDate)</a>

The function is like:

function ViewDocDetails(UploadDate) {
   alert(UploadDate);
....

}

When I run the program the alert gives a value like '0.00004123371268349002'. How can I solve the problem?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!