•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 427,215 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,174 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 1085 | Replies: 1
![]() |
Parse the String to a Date using SimpleDateFormat, initiate a Calendar with that date, then use the get(int) method of the Calendar.
See the API docs for SimpleDateFormat and Calendar/GregorianCalendar.
See the API docs for SimpleDateFormat and Calendar/GregorianCalendar.
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
![]() |
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- selecting the day from the DATE field so that it includes a zero... (MySQL)
- MySQL date formatting (PHP)
- how to get servers date (JSP)
- Microsoft Access date validation Need a solution (Database Design)
- HELP -my Date code isnt working (ASP)
- xp starts up pc every day (Windows NT / 2000 / XP / 2003)
Other Threads in the JSP Forum
- Previous Thread: deploying servlets
- Next Thread: Help for learnign JSP



Linear Mode