need to format the date so that SQL server can insert it into the database at your local time?
ASP Code:
DateString = Right((year(now)), 4) & "/" & month(now) & "/" & day(now) & " " & time() Response.write(DateString)
Returns this time string:
2025/4/10 11:01:37
DateString = Right((year(now)), 4) & "/" & month(now) & "/" & day(now) & " " & DateAdd("h",-1,time())
Returns this time string (minus one hour):
2025/4/10 10:01:37