Skip to main content
Inspiring
April 7, 2008
Question

Date if before, don't show, if after display

  • April 7, 2008
  • 3 replies
  • 240 views
I have a table with dates in it but I don't want to display items if
they fall before the date and not if after, they do appear?

ASP, VBSCRIPT
This topic has been closed for replies.

3 replies

Inspiring
April 7, 2008
Thanks -
Inspiring
April 7, 2008
Art wrote:
> I have a table with dates in it but I don't want to display items if
> they fall before the date and not if after, they do appear?
>
> ASP, VBSCRIPT

Dates are always a PITA :)

<% If DateString > GetDate() Then %>
Do stuff
<% End if %>

Steve
Inspiring
April 7, 2008
Let me restate>>>
If they fall before the date, they don't appear, they DO appear if they
are after a certain date - ASP, VBSCRIPT