Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

date - now = number

Status
Not open for further replies.

westcoaststyle

Programmer
Oct 15, 2001
81
US
What do I need to do to subtract date1 from now() and return a number?

I want to show how many days are left from a specific date until Now().

Thanks!
 
Hi...

Assuming that you are trying to get a number on a report.

Select Date from your query or table..(I am assuming you
have a date in your table). Create a text box
and place this in it:

=Date()-([Date])

This will give you a number.

GR

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top