Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within JSP
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
JSP
calender
Rinky Deshmukh
Greenhorn
Posts: 16
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
how to create a calender in
jsp
Stephen Huey
Ranch Hand
Posts: 618
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
JSPs make use of
Java
, so here are the Javadocs for a couple of particularly useful classes called Calendar (abstract) and GregorianCalendar:
http://java.sun.com/j2se/1.4.2/docs/api/java/util/Calendar.html
http://java.sun.com/j2se/1.4.2/docs/api/java/util/GregorianCalendar.html
Those are quite informative, but samples of their use can be found with Google in a heartbeat:
http://www.jguru.com/forums/view.jsp?EID=1157973
http://www.rgagnon.com/javadetails/java-0105.html
This explains a ton about the use of Calendar, especially if you need to understand more about international date and time info:
http://oss.software.ibm.com/icu/docs/papers/international_calendars_in_java.html
Popeye has his spinach. I have this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
How to generate calender
How to obtain week of year for any given date
Any Opensource JSP Calender Tag available?
strange error while compiling
Date comparision problem
More...