I'm having a hard time putting together date queries for MySQL. Bill helped me with a date function the other night which helps, but I'm still having trouble with some queries...<BR><BR>Like this one. I want to get Message Board posts from either today.. so I'm trying to use:<BR><BR>Select * FROM mbtopics WHERE TopicPosted = '" & ISODate(DateValue(dtNow)) & "'<BR><BR>Here's the ISODate function Bill helped me with..<BR><BR>Function ISODate(dt)<BR>dt = CDate(dt)<BR>ISODate = Year(dt) & "-" & Month(dt) & "-" & Day(dt)<BR>End Function<BR><BR>Any ideas? The above query doesn't give me any error, it just doesn't return any results. The field topicposted is a datetime field in MySQL.<BR><BR>Thanks in advance for any ideas or suggestions!!