Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-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
 
Old July 19th, 2004, 09:15 PM
Authorized User
 
Join Date: Jul 2004
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Regornil
Default Rephrase of my ques

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. =]


 
Old July 25th, 2004, 09:24 PM
Authorized User
 
Join Date: Jul 2003
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to yuji_chen
Default

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.








Similar Threads
Thread Thread Starter Forum Replies Last Post
SAXON Ques dev.user06 XSLT 4 July 26th, 2006 10:44 AM
another ques regarding Javascript messagebox hoailing22 ASP.NET 1.0 and 1.1 Basics 6 June 7th, 2005 01:10 AM
hi, text box ques... life_s Ng ASP.NET 1.0 and 1.1 Basics 8 September 13th, 2003 02:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.