CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Expirationdate on articles

Print topic Send  topic

Author Message
MelvinK
Posted: 08/06/2003, 5:12 AM

Hi Everyone,

I've got a little question where you guys may be able to help me with.
I'm building a news system with CC (not CCS) and I want articles to be displayed on the frontpage depending on what date their expiration date is set to.

So lets say I add an article to my database with an expiration date of 10 August. I want it to be viewable untill/upto 10 august and then be gone on 11th of august. I also want the articles to be replaced by newer articles when these are made.

Does anyone of you have experience with setting this up? I'm not really an ASP programmer but I found CC very easy to use and setup various webforms for our company.

So If anyone can help me they can either post it here or email me at
MelvinKrone@hotmail.com
RonB
Posted: 08/06/2003, 5:29 AM

Use sql to make the selection:

select * from news_table where news_exp_date >= now()


Ron
MelvinK
Posted: 08/06/2003, 6:45 AM

thanks for your swift response

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.