关于2000和NT的问题?急!

在2000下运行正常,在NT下的错误提示为:
Microsoft OLE DB Provider for ODBC Drivers 错误 '80040e14'
[Microsoft][ODBC Microsoft Access 驱动程序] 日期的语法错误 在查询表达式 '#02-1-31 下午01:42:34#' 中。
/beijing/news2/admin/newsman.asp, 行52

第52行的内容为:
conn.execute sql

时间的语句为:
<% If bedit then
response.write rs("addtime")
else
response.write formatdatetime(now())
end if %>
[439 byte] By [lili_xu-lili] at [2008-6-2]
# 2
我还想加入时间
lili_xu-lili at 2007-10-23 > top of Msdn China Tech,其他开发语言,Office开发/VBA...
# 3
cstr()函数可以吧别的类型的转换成字符串
# 4
已经试过了,还是不行。我想要达到的效果类似于本页的“回复于2002-1-31 14:41:08 ”读取系统时间。
lili_xu-lili at 2007-10-23 > top of Msdn China Tech,其他开发语言,Office开发/VBA...
# 5
<%response.write formatdatetime(now)%>结果是什么?我的是2002-1-31 15:46:52。你的不行吗?
# 6
结果是“02-1-31 下午01:42:34”我用的是NT。在2000下和你的一样。
lili_xu-lili at 2007-10-23 > top of Msdn China Tech,其他开发语言,Office开发/VBA...
# 7
结果是“02-1-31 下午01:42:34”我用的是NT。在2000下和你的一样。
lili_xu-lili at 2007-10-23 > top of Msdn China Tech,其他开发语言,Office开发/VBA...
# 8
结果是“02-1-31 下午01:42:34”我用的是NT。在2000下和你的一样。
lili_xu-lili at 2007-10-23 > top of Msdn China Tech,其他开发语言,Office开发/VBA...
# 9
You can set the date format in you NT regional setting . Or in you program translate the date format to your request. FORMAT(varDate,'yyyy-mm-dd hh:mm:ss')
liuyann-liuyann at 2007-10-23 > top of Msdn China Tech,其他开发语言,Office开发/VBA...