I posted this yesterday, but I am not seeing this out yet:
I am having problems with updating a date field in a certain format.
The data is stored in an Oracle database. The date is automatically
displayed in format, "mm/dd/yyyy" on the ASP page, but it is accepted
only in another format, "dd/mon/yy". I want to make it consistent.
How can I force it to accept the date in format "mm/dd/yyyy"? The
second option would be to force it to display in "dd/mon/yy". Here's
my current update SQL statement:
commUpdate.Comm andText = "UPDATE table1 SET DatePaid = '" +
varDatePaid +
"' WHERE ID = " + varRecID
thanks,
jt
I am having problems with updating a date field in a certain format.
The data is stored in an Oracle database. The date is automatically
displayed in format, "mm/dd/yyyy" on the ASP page, but it is accepted
only in another format, "dd/mon/yy". I want to make it consistent.
How can I force it to accept the date in format "mm/dd/yyyy"? The
second option would be to force it to display in "dd/mon/yy". Here's
my current update SQL statement:
commUpdate.Comm andText = "UPDATE table1 SET DatePaid = '" +
varDatePaid +
"' WHERE ID = " + varRecID
thanks,
jt
Comment