Click here to Skip to main content
15,895,283 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
Iam exporting data to excel which as date columns . In local system date column takes a system format .so no issues. When I configured in Webster and I run the application I get the report ( excel) date columns in differt format . how I want to write coding to get. Mm/ddyyyy in webserver can any one help me .


Thanks
Posted
Comments
PIEBALDconsult 12-Dec-15 12:27pm    
Please use an ISO8601-compliant date format -- YYYY-MM-DD -- when writing output.
But Excel is likely storing the values as a numeric value (as it should). Excel can then display it however you wish by setting the format in Excel.
I think your issue is with Excel; "fix" it there.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900