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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:07:18+00:00 2026-05-31T06:07:18+00:00

So The problem is my language works for my calendar but not for the

  • 0

So The problem is my language works for my calendar but not for the parsedate
Below is my code (i made this like the example on the site).

$(function(){
                $.datepicker.setDefaults($.datepicker.regional['nl-BE']);
                // Datepicker
                $('#datepicker').datepicker({

                    firstDay: 1,
                        dateFormat: "dd/mm/yy",
                    inline: true,
                    onSelect: function(dateText){
                    var datez = $.datepicker.parseDate('dd/mm/yy',dateText,{shortYearCuroff: 20, dayNamesShort: $.datepicker.regional['nl-BE'].dayNamesShort, dayNames: $.datepicker.regional['nl-BE'].dayNames, monthNamesShort: $.datepicker.regional['nl-BE'].monthNamesShort, monthNames: $.datepicker.regional['nl-BE'].monthNames}).toString();
                    var value = datez.split('00:00:00');
                    generatexml(dateText,value);

                    }

                });
            });

This results in my language of the calendar changed but not the language in parsedate? Any idea what i did wrong?

Sat Mar 24 2012

Is the result given, i have also tried to put the daynumber before the month witouth any result 🙁

  • 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-31T06:07:19+00:00Added an answer on May 31, 2026 at 6:07 am

    Ok Soo you currently are using the wrong function you want formatDate.

    After lots of research you want to use that instead and also change your var datez

    From

    var datez = $.datepicker.parseDate('dd/mm/yy',dateText,{shortYearCuroff: 20, dayNamesShort: $.datepicker.regional['nl-BE'].dayNamesShort, dayNames: $.datepicker.regional['nl-BE'].dayNames, monthNamesShort: $.datepicker.regional['nl-BE'].monthNamesShort, monthNames: $.datepicker.regional['nl-BE'].monthNames}).toString();
    

    To

    var datez = $.datepicker.formatDate('D M d yy',new Date(dateText)).toString();
    

    Here is a jsfiddle example.

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

Sidebar

Related Questions

function works perfectly. it makes source code single line. but problem is about Google
I have a cross-language problem regarding md5 :). I have this code in Java:
This is more of an algorithmic dilemma than a language-specific problem, but since I'm
I have a problem with Drupal uploads path when in a multi language site.
The Problem in Short: Localized text works perfect on my development machine(windows 7) but
How can I change content language in my WebView. My exampe (below) works good,
This is really a python language question, but its wrapped around a Google appengine
i have the following problem. This midlet works fine when i execute it in
i wrote this code in C language on Xcode following the algorithm of mergesort.
When I change language on my Django-powered site, everything works fine except the translation

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.