| | |
how to get day on particular date
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
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
![]() |
Similar Threads
- 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)
Other Threads in the JSP Forum
- Previous Thread: deploying servlets
- Next Thread: Help for learnign JSP
| Thread Tools | Search this Thread |
apache array backbutton combobox comma connection csv database development directorystructure dropdownlist dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 mysql netbeans network parameters passing ping printinserverinsteadofclient project read redirect request.getparameter response seperated servlet servletdopost()readxml sessions software sql ssl state_saving_method stocks sun tomcat tutorial update values video web write






