Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 1st, 2004, 08:33 PM
Authorized User
 
Join Date: Mar 2004
Posts: 84
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to gmoney060 Send a message via MSN to gmoney060
Default database timing

If i would want to display news from a data base for "X" amount of days, how would that be done, and could it be done.

 
Old June 2nd, 2004, 06:52 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Sure, you could have a begin and end date in the database, and verify that the current date is between those dates. Or store the total amount of days and a begin date, then calculate the end date, and verify that the current date is between those dates.

Brian





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Get Difference timing Between Two Time smmedicals Pro VB Databases 1 August 11th, 2008 01:57 PM
Full Text timing out coww_pie SQL Server 2005 1 October 29th, 2007 11:47 PM
Remoting timing out after 2 minutes BrainWave ASP.NET 2.0 Professional 0 August 13th, 2007 06:54 AM
HTTPWebRequest GetResponse Timing-out amahajan .NET Web Services 0 July 13th, 2005 11:54 AM
timing issue riteshu C++ Programming 2 September 22nd, 2004 07:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.