Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi in my application i m displaying current date on page load using Datetime.Now. Its working fine but when i deploy in IIS 6 date is not displayed in Textbox but it works fine when deployed in IIS5.Can i know what may be the Problem is there any date settings in IIS
Posted

1 solution

I assume you meant to say this is an ASP.NET application ? I doubt very much that IIS would change how your code runs, by causing DateTime.Now to not return anything. I think you need to tell us more, and post some code. I feel sure the issue is not the version of IIS.
 
Share this answer
 
Comments
Mithun P 10-Aug-11 0:37am    
yes this is ASP.Net Application. in page load i have code like this
txtCurrentDate.text = DateTime.Now.tostring()
we have deployed in IIS 5 and tested the application it was working fine but in client side they are using 2008 Server in which IIS 6 has been installed there the date is not displayed in textbox. Please i need solution ASAP....

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