People post on my forum several times per day.
I log the date as postdate so I can show them in order.
The order of posts for a particular day were random... If I posted a 
second ago it could be lower than a post from this morning.

To Fix:

I changed how I store postdate from Date() to Now(), expecting the 
sort to look at time of day as well.

Now I have 2 problems: 

1. The posts are still in random order for the day
2. I try to count today's posts and come up with 0.

SQL="Select count (id) from post WHERE postdate =#" & Date() & "#"
todaysposts=poststoday(0)
response.write There were " & todaysposts & " posts today."

Please help! It's for http://www.vwsucks.com

thanks



------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [EMAIL PROTECTED]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to