Create a SimpleDateFormatObject with the format string in which you are interested. Use that object to parse the string into a Date. Once you have the date object you can use its methods to extract day, month, etc.
yea the split thing worked and so did the StringTokenizer. im using both now. its nice to learn new things like that.
these dates is driving me insaine, they input into oracle in one format, when you select them from oracle its a different format, java dates is another format, then i have to change them to another different java format to compare dates, then change them all back. jesus.
i have another question in here regarding the gregorianCalenger (in a new post). maybe you can help me out with that.
thanks for your help
Joined: Jun 13, 2004
I wrote a helper class to help me out with date formats and put it in my utilities project. It's been helpful to have all date/string transformations in one place.
subject: how do you strip out certain groups of characters from a String