Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old July 19th, 2004, 09:15 PM
Authorized User
Join Date: Jul 2004
Location: , , .
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. =]

Reply With Quote
  #2 (permalink)  
Old July 25th, 2004, 09:24 PM
Authorized User
Join Date: Jul 2003
Location: kl, kl, Malaysia.
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to yuji_chen

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.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 01:09 AM.

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