Classic ASP BasicsFor beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
It is wise to enter dates into the database as yyyy/mm/dd.
This way the database will get it right. (at least MSSQL,ACCESS,MSDE)
======================================
They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================
My system time is correct, ive tried all combinations and also tried asigning the database field as Date and Now() and the only difference when i go yyyy/mm/dd is that it gives me 18/1/1900
What DB are you using?
Can you post the entire SQL statement that is being sent to the DB?
Check your regional settings are set to Australia.
======================================
They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================
You will need to enclose the date in single quotes.
Code:
DeedDate = '"& showDate &"' WHERE
This will fix the problem but I still recommend using yyyy/mm/dd for the format when putting into the database.
CARN' THE DOCKERS
======================================
They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================
======================================
They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================
======================================
They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================