Setting Date and Time

S

srm

I'm using O2003. / Due By field

For the initial value, I'm using Date() and it returns the current
date at 12:00 AM. If there a way to have it return the current date
and a set time or is there a setting I can change it from 12:00 AM to
another time?

Thanks.

Shawn
 
S

Sue Mosher [MVP]

In the formula editor, under Functions, look under Date/Time. The DateAdd()
function there is what you should use. Here's an example to set the
date/time to today at 1 p.m.:

DateAdd("h", 13, Date() )
 
S

srm

In the formula editor, under Functions, look under Date/Time. The DateAdd()
function there is what you should use. Here's an example to set the
date/time to today at 1 p.m.:

    DateAdd("h", 13, Date() )

--
Sue Mosher, Outlook MVP
   Author of Microsoft Outlook 2007 Programming:
     Jumpstart for Power Users and Administrators
   http://www.outlookcode.com/article.aspx?id=54

Sue:

As always, thank you.

Shawn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top