Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access 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 September 20th, 2004, 11:17 AM
Registered User
 
Join Date: Sep 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Date manipulation

Hi I need to create a query whereby to find out which product needs to renew its warranty. The attributes involved are 'DateAcquired' and 'Warranty'. I prompted the user to key in the current date. Is there any way to take the difference between the inputted date and DateAcquired plus the warranty period in years? Please help.

 
Old September 20th, 2004, 11:50 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Look for the DateDiff function.

http://msdn.microsoft.com/library/de...ctdatediff.asp







Similar Threads
Thread Thread Starter Forum Replies Last Post
Need advice to clean up my date manipulation code jasoncompo Beginning VB 6 1 June 2nd, 2006 01:29 PM
Date Manipulation pallone Javascript How-To 2 May 5th, 2006 02:15 PM
HELP Needed in Date Manipulation kunjan SQL Language 9 March 19th, 2006 09:51 PM
DataGrid manipulation burdickdave ASP.NET 1.x and 2.0 Application Design 1 July 8th, 2003 01:11 PM
String Manipulation Ben Access VBA 2 July 8th, 2003 05:53 AM





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