Click to See Complete Forum and Search --> : date() function


priyam
08-26-2008, 01:46 AM
hi

I am using date()function in my code to capture current date which i want to store in my database.But the date() function is giving a wrong date,it is giving yesterdays date,i have checked my systems date also,it is correct but still i am getting yesterday's date.
Please help me resolve this issue.

I am using ASP and VBScript

TheBearMay
08-26-2008, 07:25 AM
Assuming you're not running ASP locally, have you checked the server's date?

priyam
08-27-2008, 12:59 AM
Ya i had checked server's date and the problem is because of that only.