| Author |
Convert String to Date Issue
|
Ragupathirajan Venkatesan
Ranch Hand
Joined: Aug 18, 2010
Posts: 62
|
|
Dear All,
I am trying to convert the string to date by using the below logic. My actual requiremt is to get the date which five days before than today. Please suggest. Thanks advance.
|
 |
Pramod P Deore
Ranch Hand
Joined: Jul 15, 2008
Posts: 629
|
|
|
use instead of
|
Life is easy because we write the source code.....
|
 |
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
mm-represents minutes
MM-represents month
|
 |
Ragupathirajan Venkatesan
Ranch Hand
Joined: Aug 18, 2010
Posts: 62
|
|
|
Thanks a lot Seetharaman. It works for me.
|
 |
Ragupathirajan Venkatesan
Ranch Hand
Joined: Aug 18, 2010
Posts: 62
|
|
Hi Seetharaman,
I am trying to update the existing excel sheet using java. Means need to check the no of rows in the existing sheet, if it is 10 i need add the data into 11th row. Please suggest me any link or code to solve this problem. I can able to insert the any number of rows in one short but if i try to update the existing one.. i could not(no exception it is throwing at the same time no data getting added newly). Thanks in advance.
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
Have you already tried Apache POI or JExcelAPI (JXL)?
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Ragupathirajan Venkatesan
Ranch Hand
Joined: Aug 18, 2010
Posts: 62
|
|
Hi
I have already tried in jxl, please post your comments in jxl or poi, may be my way of trying could be differed from you. Thanks
|
 |
 |
|
|
subject: Convert String to Date Issue
|
|
|