|
|
|
|
|
| | |
| |
Active Server Pages ASP programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
|
|
Subject: |
Date function |
|
From: |
Price |
|
Date: |
4/13/2000 1:09:44 PM |
|
IP: |
204.29.71.1 |
I am trying to write the current date to a database field.
I am using the following command Year(Now){See below} The code works but I receive the following date 06/22/1905. I receive this date even though my workstation and the server both display the correct date. And I receive this date no matter what day I use it.
Please help!
Price
<%
Dim oRS
Set oRS=Server.CreateObject("ADODB.Recordset")
oRS.Open "dart", "dsn=dartjournal",adOpenKeyset,adLockOptimistic
oRS.AddNew
oRS.Fields("date")=Year(Now)
|
Follow Up - Re: Date function - Price 4/13/2000 1:31:46 PM
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|