Can't give you ASP code, but the SQL to update a datetime datatype is:
Code:
UPDATE games SET game_date='2003-07-31';
There are several ways to deal with different date formats due to locale, but the simplest is to always use the ISO standard date format, i.e. yyyy-mm-dd. That way there is no ambiguity. Express the date as a string and all will be fine.
(BTW, the CONVERT function as you wrote it and the variations you tried will always insert a 0 as the date. A date of 0 is Jan 1, 1900. It will always insert a 0 becuase the 31/7/2003 is an expression interpreted as the integer 31 divided by the integer 7 divided by the integer 2003 truncated to an integer. The other variations also end up dividing by 2003 the result of which is always less than 1 which truncates to a 0.)
Jeff Mason
Custom Apps, Inc.
www.custom-apps.com