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
Win a copy of
OCP Oracle Certified Professional Java SE 21 Developer (Exam 1Z0-830) Java SE 17 Developer (Exam 1Z0-829) Programmer’s Guide
this week in the
Programmer Certification
forum!
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:
Tim Cooke
Campbell Ritchie
paul wheaton
Ron McLeod
Devaka Cooray
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Paul Clapham
Saloon Keepers:
Tim Holloway
Carey Brown
Piet Souris
Bartenders:
Forum:
JSP
calender
Rinky Deshmukh
Greenhorn
Posts: 16
posted 20 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 20 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
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...