maryann
09-14-2007, 12:04 PM
Hi,
I got a problem regarding the date. The default date displays in my page is not the current date, or not getting from the date of my PC. Example, the current date is September 14, 2007 and the date saved in the database is September 13, 2007. I used the date command "TODAY" in my code to get the current date but always delayed one day. If I run the program in localhost then the date is correct but whenever I run thru your server then the date delays one day. My doubt is maybe the DISCOUNTASP server is located in USA and the date is taking from the server and not from the user's PC. I am in New Zealand that's why we are ahead of one day. Please correct me if I'm wrong about it and please help me how to solve this problem. Thank you once again.
Regards,
Mary Ann
I got a problem regarding the date. The default date displays in my page is not the current date, or not getting from the date of my PC. Example, the current date is September 14, 2007 and the date saved in the database is September 13, 2007. I used the date command "TODAY" in my code to get the current date but always delayed one day. If I run the program in localhost then the date is correct but whenever I run thru your server then the date delays one day. My doubt is maybe the DISCOUNTASP server is located in USA and the date is taking from the server and not from the user's PC. I am in New Zealand that's why we are ahead of one day. Please correct me if I'm wrong about it and please help me how to solve this problem. Thank you once again.
Regards,
Mary Ann