wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes datetimepicker.js Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "datetimepicker.js" Watch "datetimepicker.js" New topic
Author

datetimepicker.js

anvi kon
Ranch Hand

Joined: Jan 08, 2010
Posts: 133
Hi ,

I am using datetiempicker.js script for my calander.

I want to change the date format (11/1/2011)when I enter in the text box to (11/01/2011).

Can anyone help in this?

where do I have to change in the below script.




thanks,
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60759
    
  65

anvi kon wrote:I am using datetiempicker.js script for my calendar.

That doesn't tell us anything as we have no idea what this script is or where it came from.

And that looks like a lot of code just to use a date picker. Why aren't you using an easier to use (and much more popular) date picker like jQuery UI's date picker?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

The lines of code you have to change are 476, 478, 480, and 482.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: datetimepicker.js
 
Similar Threads
How to make the previous day from today to be readonly?
resultset is not working properly
Need to change Calendar to dd/mm/yyyy format
javascript to insert table and its data into html div tag
datepicker problem