Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6319351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T15:47:31+00:00 2026-05-24T15:47:31+00:00

Is there any fnction in the JQuery datepicker custom ui where I can get

  • 0

Is there any fnction in the JQuery datepicker custom ui where I can get the total number of days by passing on the month name and year?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T15:47:32+00:00Added an answer on May 24, 2026 at 3:47 pm

    Just use regular Javascript. No need for jQuery. I’m not sure what the date picker returns but if you can get the year like ‘2012’ and the month like ‘2’:

    var year = 2012;
    var month = 2;
    var days = Math.round(((new Date(year, month))-(new Date(year, month-1)))/86400000);
    

    Since 2012 is a leap year, and 2 is February the above code days becomes 29.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way I can get jQuery to perform a function when you
Hi I was wondering if there is any jquery function around which can take
Is there any altenative for Jquery $.map(array, function(item)) in mootools. How can I change
Is there any function like php's mb_convert_encoding which can convert an encoding to another?
Is there any function in C on linux by which we can query MX
Hello everybody out there, I'm very frustrated with the jQuery Datepicker and Rails 3.1.
is there any existing function in jquery library with the help of which I
Without using any plugins, are there any built in function in jQuery or jQuery
Is there is any function like isNumeric in pure JavaScript? I know jQuery has
I'm Java/jQuery developer. is there any extract function refactoring for JavaScript in Eclipse or

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.