• Post Reply Bookmark Topic Watch Topic
  • New Topic

one click calendar  RSS feed

 
Nishant Vashisth
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Guys i was trying to make a booking system but i am struck at the calendar and date part.
so can you guys please help me out with the code of a one click calendar !!

and also how to fetch date month year day etc from it !!
 
Atul Darne
Ranch Hand
Posts: 118
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
have a javascript datepicker, pick up the date and set it to some text-box.


and parse the date by getting into the java variable
Refer the following link !
JavaScript Calander
 
Nishant Vashisth
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks dude but isn't this calendar available in simple java tags <% %> or in jsp tags

because the project i am working on does not has script and if i add this it'll be hell lot difficult for me to explain it to teachers !!
so don't you have a simpler version
 
Atul Darne
Ranch Hand
Posts: 118
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nishant,

The easiest way is to use javascript date picker, and setting the date in the textbox.

From there you can use the date and parse date as you want by using the java Date Function's.

You have a number of javascript datepicker's code online.
 
Nishant Vashisth
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sure thanks buddy i'll look in to what i can find !!

being a ammature is difficult !!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!