File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Convert String to Date Issue

 
Ragupathirajan Venkatesan
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 632
Android Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use instead of
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Java Windows XP
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
mm-represents minutes
MM-represents month
 
Ragupathirajan Venkatesan
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks a lot Seetharaman. It works for me.
 
Ragupathirajan Venkatesan
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20396
47
Chrome Eclipse IDE Java Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you already tried Apache POI or JExcelAPI (JXL)?
 
Ragupathirajan Venkatesan
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic