May 19, 2006 #1 Kendel Programmer Apr 24, 2002 1,512 US Hi All, In JSP java.util.Date date = new java.util.Date(); <%= date %> will give this: Fri May 19 15:19:37 EDT 2006 How can I get the current month in number out of that? Thanks.
Hi All, In JSP java.util.Date date = new java.util.Date(); <%= date %> will give this: Fri May 19 15:19:37 EDT 2006 How can I get the current month in number out of that? Thanks.
May 19, 2006 Thread starter #2 Kendel Programmer Apr 24, 2002 1,512 US I got it: java.util.Date().getMonth() Thanks. Upvote 0 Downvote
May 19, 2006 #3 sedj Programmer Aug 6, 2002 5,610 Hmmm... reading the API doc before asking a question .... priceless. -------------------------------------------------- Free Java/J2EE Database Connection Pooling Software http://www.primrose.org.uk Upvote 0 Downvote
Hmmm... reading the API doc before asking a question .... priceless. -------------------------------------------------- Free Java/J2EE Database Connection Pooling Software http://www.primrose.org.uk