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 8344889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T06:30:45+00:00 2026-06-09T06:30:45+00:00

I am using datepicker plugin from eyecon.ro and I got selected date with $(‘input’).DatePickerGetDate();

  • 0

I am using datepicker plugin from eyecon.ro and I got selected date with $('input').DatePickerGetDate();.

The output is: Sun Jul 15 2012 00:00:00 GMT+0700 (SE Asia Standard Time)

How to convert it to be Y-m-d format?

I’ve tried these:

  1. $('input').DatePickerGetDate("YY-mm-dd");
  2. $('input').DatePickerGetDate("Y-m-d");
  3. $('input').DatePickerGetDate("YYYY-mm-dd");

but the result is just the same: Sun Jul 15 2012 00:00:00 GMT+0700 (SE Asia Standard Time)

  • 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-06-09T06:30:47+00:00Added an answer on June 9, 2026 at 6:30 am

    While initialising the datepicket add format option

    $('.input').DatePicker({
        format:'Y-m-d',
        date: $('.input').val(),
        current: $('.input').val(),
         ....//rest of your initialising code
    

    and access the data using

    $('.input').DatePickerGetDate(true);
    

    Hope this helps..

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

Sidebar

Related Questions

I am using bootstrap-datepicker and get a value of 1339698600000 for the selected date
i'm using successfully a jquery datepicker with masked input plugin too in a aspx
I am using Jonathan Leighton's Date Picker Plugin (Input Date) URl : http://jonathanleighton.com/projects/date-input The
I have an input text containing a default date and I'm using jQuery's Datepicker
Consider that I have 10 input boxes, (using datepicker plugin Fyi) I have a
I'm using the jQuery Date Picker plugin by Kelvin Luck ( http://www.kelvinluck.com/assets/jquery/datePicker/v2/demo/ ) and
I am using the datepicker plugin from here - The example is on the
I am using the datepicker jquery plugin with the settings below. $(#date).datepicker({ showButtonPanel: true,
I'm using the jquery datepicker plugin to set a date field that is stored
Got the jQuery UI datepicker plugin working wonderfully, however, when using IE7, the calendar

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.