Get current date in DD-Mon-YYY format in JavaScript Jquery

0 votes

I need to get the date format as 'DD-Mon-YYYY' in javascript. I had asked a question, and it got marked duplicate to jQuery date formatting

But, the answers provided in the question are to get the current date in "DD-MM-YYYY" format and not "DD-MON-YYYY". Secondly, I am not using datepicker plugin.

Can you please help me as if how to get the current date in "DD-Mon-YYYY" format.

Jun 23, 2022 in Web Development by gaurav
• 23,260 points
5,445 views

1 answer to this question.

0 votes

get current date in jquery in dd/mm/yyyy format” Code Answer. var mm = String(today. getMonth() + 1). padStart(2, '0'); //January is 0!

answered Jun 27, 2022 by rajatha
• 7,640 points

Related Questions In Web Development

0 votes
1 answer

Get checkbox value in jQuery

To get the value of the Value ...READ MORE

answered Jun 23, 2022 in Web Development by rajatha
• 7,640 points
419 views
0 votes
1 answer

Get checkbox value in jQuery

if you have set a class or id for it, you ...READ MORE

answered Jun 23, 2022 in Web Development by rajatha
• 7,640 points
455 views
0 votes
0 answers

jQuery UI DatePicker - Change Date Format

I am using the UI DatePicker from ...READ MORE

Jun 23, 2022 in Web Development by gaurav
• 23,260 points
847 views
0 votes
1 answer

How to display current element in jQuery?

<! DOCTYPE html> <html> <head> <script> $(document). ready(function(){ $("button"). click(function(){ $("p"). text("Welcome to ...READ MORE

answered Jun 27, 2022 in Web Development by rajatha
• 7,640 points
1,029 views
0 votes
1 answer

Compare two dates with JavaScript

 The Date object will do what you ...READ MORE

answered Feb 18, 2022 in Java by Rahul
• 9,670 points
422 views
0 votes
0 answers

Javascript/Jquery returning tomorrows date, but skip Sundays

I want to get tomorrows date, but ...READ MORE

Jul 28, 2022 in Web Development by gaurav
• 23,260 points
253 views
0 votes
1 answer

jQuery Countdown get time until 10:00 am today or tomorrow

The following should work (console.log() was added for ...READ MORE

answered Aug 4, 2022 in Web Development by rajatha
• 7,640 points
1,371 views
0 votes
1 answer

What is jQuery?

Hey, jQuery is a fast and concise JavaScript ...READ MORE

answered Feb 14, 2020 in JQuery by kartik
• 37,510 points
973 views
0 votes
1 answer

Get current date in DD-Mon-YYY format in JavaScript/Jquery

Get Current Date In DD-Mon-YYY Format In ...READ MORE

answered Jun 28, 2022 in Web Development by rajatha
• 7,640 points
874 views
0 votes
1 answer

get Date between 2 dates in jquery with format (dddd MMMM Do, YYYY)?

This is fairly easy to achieve with ...READ MORE

answered Aug 5, 2022 in Web Development by rajatha
• 7,640 points
577 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP