求救!有关时间格式的问题!!
数据库内日期时间格式如下:yyyy-mm-dd   hh:mm:ss,如何只显示当月的数据呢?后面的时间是必须的
------解决方案--------------------dim t 
 t = 2007-5-30 12:00:00 
 response.write year(t) &  "- " & month(t) &  "- " & day(t) &  "  " & hour(t) &  ": " & minute(t) &  ": " & second(t)
------解决方案--------------------通过这样的SQL可以只从数据库中查询当月的数据 
 select * from t where year(czsj)=year(getdate()) and month(czsj)=month(getdate()) 
 其中为你的t表中的一个要过滤的日期字段