Solved

Take a date and add 30 days to it; then show a message box.

Posted on 2000-02-28
2
140 Views
Last Modified: 2010-04-04
I need a procedure:

How do you take the date of (NOW) and add 30 days to that value and pass the new date to show it in a messagebox?
0
Comment
Question by:routerboy309
2 Comments
 
LVL 13

Accepted Solution

by:
Epsylon earned 50 total points
ID: 2566759
Try this:

  ShowMessage(DateTimeToStr(Now+30));
0
 

Author Comment

by:routerboy309
ID: 2566785
Thanks
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now