Link to home
Start Free TrialLog in
Avatar of kbb1
kbb1

asked on

Not able to display the date formate while passing through java

I am passing date string to excel. my date string formate is  (MMM dd,yyy) i.e NOV 11, 2009
i want to display the date  in excel in the same formate as it is being sent. But in the excel i am getting date in different formate  i.e 11-Nov-09.
i am using response.setContentType("application/vnd.ms-excel"); to convert the data from java to excel.
Can anybody help me
Avatar of leonstryker
leonstryker
Flag of United States of America image

I would say pass it as either text or run some code to apply the format after the data is transferred.

Leon
ASKER CERTIFIED SOLUTION
Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial