JSP BasicsBeginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
hey yuji chen tt part i already found out bout tt part.THx alot though.Now the part i still couldnt get is extracting the month from a time stamp.e.g: 2004-04-01 00:00:00+08
i need to get the month..in this case will be 4. thx for any help. =]
get the calendar object 1st, and use setTimeInMillis(long millis) to manipulate ur calendar object to the time u want and follow the code i provide in the previous post to get the month.