Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Seminars   Templates   TechHelp   Fast Tips   Forums   Help   Contact   Join   Order   Logon  
 
Home > TechHelp > Directory > Access > DateAdd < Calculate Age | Search Button >
DateAdd
By Richard Rost   Richard Rost on Twitter Richard Rost on LinkedIn Email Richard Rost   2 years ago

Use the DateAdd Function to Add Whole Calendar Months


 S  M  L  XL  FS  |  Slo  Reg  Fast  2x  |  Bookmark Join Now

In this Microsoft Access tutorial, I will teach you how to use the DateAdd function in Microsoft Access to add or subtract whole days, months, years, hours, minutes, seconds, weeks, or quarters from any date.

Coen from Glendale AZ (a Silver Member) asks: how do I determine what date is exactly six months in the future from a specific date? I can't just add 180 days. It's for a warranty program, so it needs to be exactly six calendar months. Furthermore, if the warranty happens to expire on the weekend, we give them until the following Monday to come in for service. How can I handle that?

Members

I'll show you how to handle part two of the question: if the warranty ends on a weekend, move the date up to Monday. Also, I'll show you how to put "WARRANTY EXPIRED" in big red & yellow letters right on the customer form.

Silver Members and up get access to view Extended Cut videos, when available. Gold Members can download the database template from class plus get access to the Code Vault. If you signed up on YouTube you have to register on my YouTube Find User page so I can set up your account here on my web site. If you're not a member, Join Today!

Links

Format

     DateAdd("interval", number, date)

     yyyy      Years
     q         Quarters
     m         Months
     d         Days
     ww        Weeks
     h         Hours
     n         Minutes
     s         Seconds

     X = DateAdd("m", 1, #1/1/2021#)

Learn More

FREE Access Beginner Level 1
Access Level 2 for $1.00

Free Templates

TechHelp Free Templates
Blank Template
Contact Management
Order Entry & Invoicing
More Access Templates

Resources

Mailing List - Get emails when new videos released
Consulting - Need help with your database
Tip Jar - Your tips are graciously accepted

Questions?

Please feel free to post your questions or comments below or post them in the Forums.

 

Comments for DateAdd
 
Age Subject From
20 daysDateAdd in Calculated FieldsKent Jamison

 

Start a NEW Conversation
 
Only students may post on this page. Click here for more information on how you can set up an account. If you are a student, please Log On first. Non-students may only post in the Visitor Forum.
 
Subscribe
Subscribe to DateAdd
Get notifications when this page is updated
 
 

Check out these other pages that may be of interest to you:

11/29/2022Date Buttons
11/29/2022Change Date Field
11/28/2022Top X
11/27/2022System Settings
11/25/2022Application Title
11/24/2022Full HTML Editor in Access
11/24/2022Change Database Title
11/23/2022Other Names
11/21/2022Check Icon File
11/21/2022Check Icon File
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
amicron@gmail.com
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn
Keywords: TechHelp Access dateadd, add one month, subtract one month, whole month, six months, next month, last month, previous month, years, quarters, months, days, weeks, hours, minutes, seconds, weekday  PermaLink  DateAdd in Microsoft Access