• Outlook User
  • Exchange Admin
  • Office 365
  • Outlook Developer
  • Outlook.com
  • Outlook Mac
  • Common Problems
    • Outlook BCM
    • Utilities & Addins
    • Video Tutorials
    • EMO Archives
    • Outlook Updates
    • Outlook Apps
    • Outlook & iCloud Issues
    • Forums

How to Insert the Date and Time into an Outlook Item

Slipstick Systems

› Outlook › How to Insert the Date and Time into an Outlook Item

Last reviewed on December 31, 2017   —  41 Comments

August 5, 2011 by Diane Poremsky 41 Comments

One often requested feature that is missing in older versions of Outlook is ability to insert a date and time stamp into the body of Outlook items. Beginning with Outlook 2007, Word's insert Date & Time button was added to Outlook's Insert tab; older versions will need to a custom form or an add-in to insert the date stamp.

Insert Date and Time

One complaint about the Insert Date & Time command is that it is too many steps. It's not bad if you use the keyboard shortcuts: Alt+N, D, Enter will insert the date and time format you have set as default. To insert other formats, use the arrow keys to select them, then press Enter. (Home or Page Up jumps to the top entry on the list while End or Page Down jumps to the bottom.) If that is still too many steps, you can use a macro to insert the date and time.

See the Tools section below for add-ins that you can use instead. Note that the custom forms method doesn't work well with Appointment forms since you can't change the first page of the form. It also doesn't work well with contacts in Outlook 2003 and 2007 since editing the first page of the form reverts the form to the older Outlook contact form (as in the screenshot below).

Custom Form Method with Button

In a new Outlook 2003 or older, open a form then:

  1. Select the Tools menu, Forms, Design this form
  2. Then from the View menu, choose View code
  3. In the code window, enter this code:

In Outlook 2007 and up, first show the Developer ribbon (File or Office icon, Options), then from the Developer ribbon, choose Design this form. The View Code button is in the Form section.

Sub StampDate()
   Item.Body = Now() & vbCrLf & vbCrLf & Item.Body
End Sub

Sub CommandButton1_Click() 
  Call StampDate() 
End Sub

After entering the code, close the code window.

Next:

  1. Open the Control toolbox and drag a command button to the form.
  2. Rename it by right clicking on it and selecting Properties.
  3. In the Caption field, type in the desired name.

To use, click the button you created.

Add a date stamp to a custom form

Custom Form - Automatic Method

If you want the date stamped in the Notes field every time you open an item, you can create a custom form as described above, but use the code below instead. You also won't need to add a button to the form, so it will work with contacts. Although today's date is added to the Notes field every time you open a contact, it's not saved until you Save the contact.

In Outlook 2007 and up, first show the Developer ribbon (File or Office icon, Options), then from the Developer ribbon, choose Design this form. The View Code button is in the Form section.

In Outlook 2003 and older, or Outlook 2007's main window, go to Tools menu, Forms, Design this form. Then from the View menu, choose View code.

In the code window, enter this code:

Function Item_Open()
Item.Body = Now() & vbCrLf & vbCrLf & Item.Body
End function

Publish the form and set it as the default form for the folder, if desired. If you want to use it with existing items you'll need to convert the items to use the new form. Instructions are at How to Set a Custom Form as the Default for a Folder.

 

Tools

DocMessageClass

Used to change the message class of Outlook items,so that existing items will use newly created forms.Free.

Insert Date-Time

Stamp any Outlook item with your name and the date/time, in various formats and locations. Enter code WD9BHK53 during checkout.

More Information

To stamp a date on a Microsoft Outlook item (Outlookcode)

How to Insert the Date and Time into an Outlook Item was last modified: December 31st, 2017 by Diane Poremsky
  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Google+ (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Share on Skype (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to print (Opens in new window)

Related Posts:

  • Use one Start and End time for all Outlook Appointments
  • Tips for Customizing Outlook Appointment Forms
  • Created date in table view
    Display the Created Date field of any Outlook item
  • Designing Custom Outlook Forms

About Diane Poremsky

A Microsoft Outlook Most Valuable Professional (MVP) since 1999, Diane is the author of several books, including Outlook 2013 Absolute Beginners Book. She also created video training CDs and online training classes for Microsoft Outlook. You can find her helping people online in Outlook Forums as well as in the Microsoft Answers and TechNet forums.

Leave a Reply

41 Comments on "How to Insert the Date and Time into an Outlook Item"

2500
Photo and Image Files
 
 
 
Audio and Video Files
 
 
 
Other File Types
 
 
 
2500
Photo and Image Files
 
 
 
Audio and Video Files
 
 
 
Other File Types
 
 
 

  Subscribe  
newest oldest most voted
Notify of
Edward Foy
Edward Foy
Share On TwitterShare On Google

How can I add/appropriately name my custom fields to the exported CSV files. I dont see the new fields but do see "user fields"

Vote Up00Vote Down Reply
September 23, 2017 12:58 pm
Diane Poremsky
Diane Poremsky
Share On TwitterShare On Google

Import/Export command doesn't export custom fields - you would need to either use a macro or create a list view with the fields you need in the view, then copy and paste. (Doesn't work well with body field or other multi-line fields though.)

Vote Up00Vote Down Reply
October 17, 2017 11:53 pm
Edward Foy
Edward Foy
Share On TwitterShare On Google

I have used the custom form methods for years without any problems until recently. Now the button has stopped working and every time I open a contact, the previous note's date. Any thoughts?

Vote Up00Vote Down Reply
September 21, 2017 12:05 pm
Diane Poremsky
Diane Poremsky
Share On TwitterShare On Google

I'm guessing it is this security change: https://www.slipstick.com/outlook/custom-form-security/
there is a reg key you can set to enable scripts (it's in that article).

Vote Up10Vote Down Reply
September 22, 2017 12:31 am
Edward Foy
Edward Foy
Share On TwitterShare On Google

GOD Bless YOU!!!
This has been haunting me all week and your fix worked, Thank You!

Vote Up00Vote Down Reply
September 23, 2017 12:56 pm
Peter
Peter
Share On TwitterShare On Google

Dear Diane, I am trying to use Your method with a customized Task Form.
When You use DateStamp for the second time You lose all the formatting of the previous text.
I tried using Item.HTMLBody option, but it doesn't work.
What can be applied?
Thank You!

Vote Up00Vote Down Reply
February 16, 2017 11:44 am
Diane Poremsky
Diane Poremsky
Share On TwitterShare On Google

Try using rtfbody (it errored for me in outlook 2016) - if it fails in your version too, then you'd need to use word code, which will not work in script within the form. This is only practical if you need it on one computer as you need the vba on all computers - the code samples at https://www.slipstick.com/developer/code-samples/create-task-selected-text/ us this technique to save messages to tasks - you'd use similar code.

Vote Up00Vote Down Reply
June 2, 2017 10:44 pm
Sterling Moore
Sterling Moore
Share On TwitterShare On Google

I recently was promoted and now I have switch platforms(not by choice). In Windows this was a fairly simple function that I used quite frequently. In OFM 2011, not so much. All I want to do is simply add a date and time stamp to an Outlook/Calendar item. Can anyone point me in the right direction? Is there an applescript that allows one to perform this function? Any feedback will be greatly appreciated.

Thank You!

Vote Up00Vote Down Reply
November 23, 2016 4:08 pm
Fred Johnston
Fred Johnston
Share On TwitterShare On Google
I may be totally misappropriate in my comments on this forum but here goes anyway. I am totally puzzled by how ANY third party software app can synchronize the contacts in Outlook with any other database (such as my phone, be it my BB10, my BB Priv Android, my iPhone or between my desktop and my laptop) if the Outlook database doesn't have date/time stamps on every contact record showing when it was originally created and when it was last modified. It appears that these two fields exist in Outlook, but do not appear to be managed properly by Outlook (and can't be relied upon) and there appears to be no way to export these fields to a CSV file. I'm beginning to understand why no matter which third party synchronizing app I use, I can always expect an unreliable result (like duplicates or missing or inappropriately merged contact records). I used to get on quite well when I was using Outlook 2003 and a BB O/S 10 phone with BB's proprietary BB LINK utility, but since then I have had to try many different synchronizing apps for my different phones and operating systems and my contacts database has become… Read more »
Vote Up00Vote Down Reply
September 13, 2016 11:27 pm
Diane Poremsky
Diane Poremsky
Share On TwitterShare On Google

Just because you can't include those fields in an export doesn't mean the programs can't see the date. Some sync utilities set an internal property on the it to help manage the sync. If you are trying to keep in sync using "sneaker net", a macro that checks the dates would be better than using export. (Or just copy the pst back and forth).

The easiest way to keep outlook in sync is using an exchange account (outlook.com is now on exchange server). The second easiest is using icloud or iTunes - which of course, requires apple devices. Companion link works good too.

Vote Up00Vote Down Reply
September 13, 2016 11:58 pm
Katherine Rivette
Katherine Rivette
Share On TwitterShare On Google

Hi Diane,

I created additional fields in Outlook using the Developer tool but this new format applies only to the new contacts created. Is there a way to apply this new format to existing contacts? Thank you in advance.

Vote Up00Vote Down Reply
July 8, 2016 12:40 pm
Mike
Mike
Share On TwitterShare On Google

Hi Diane,
I applied the custom above for auto date/time stamp to my office 365 desktop and it works in notes only when I add a new contact and only for the first time...then does not work any longer. Is there a way for automatic date/time stamp everytime I add notes to a contacts record?

Vote Up00Vote Down Reply
September 17, 2015 11:34 am
GingaDave
Share On TwitterShare On Google

Hi Diane

I have a message template with a table in the body. is there a way of inserting the Datestamp in a specific cell?

Vote Up00Vote Down Reply
February 7, 2015 7:58 am
Diane Poremsky
Diane Poremsky
Share On TwitterShare On Google

To the best of my knowledge, no, you can't insert it into a specific cell using VBSCript.

Vote Up1-2Vote Down Reply
February 8, 2015 12:32 am

Visit Slipstick Forums.
What's New at Slipstick.com

Latest EMO: Vol. 23 Issue 10

Subscribe to Exchange Messaging Outlook






Our Sponsors

  • Popular
  • Latest
  • Week Month All
  • This operation has been cancelled due to restrictions This operation has been cancelled due to restrictions
  • Adjusting Outlook's Zoom Setting in Email Adjusting Outlook's Zoom Setting in Email
  • How to Remove the Primary Account from Outlook How to Remove the Primary Account from Outlook
  • Pictures Don't Display in Outlook Messages Pictures Don't Display in Outlook Messages
  • Outlook is Not Recognized as the Default Email Client Outlook is Not Recognized as the Default Email Client
  • To Cc or Bcc a Meeting Request To Cc or Bcc a Meeting Request
  • Remove a password from an Outlook *.pst File Remove a password from an Outlook *.pst File
  • The Signature or Stationery and Fonts button doesn't work The Signature or Stationery and Fonts button doesn't work
  • Understanding Outlook's Auto-Complete Cache (*.NK2) Understanding Outlook's Auto-Complete Cache (*.NK2)
  • Exchange Account Set-up Missing in Outlook 2016 Exchange Account Set-up Missing in Outlook 2016
  • iCloud error: Outlook isn't configured to have a default profile iCloud error: Outlook isn't configured to have a default profile
  • Setting Custom Reminder Times Setting Custom Reminder Times
  • Add Additional Addresses to Room Mailboxes Add Additional Addresses to Room Mailboxes
  • Create a Task from a Message and include the Attachment Create a Task from a Message and include the Attachment
  • Forward email messages by date Forward email messages by date
  • Open multiple Outlook windows when Outlook starts Open multiple Outlook windows when Outlook starts
  • Office 365 Fraud Detection Checks Office 365 Fraud Detection Checks
  • Outlook Request: Calendar Details View Outlook Request: Calendar Details View
  • Outlook's "Not Junk" option isn't available Outlook's "Not Junk" option isn't available
  • Outlook Tip: Show all Mondays in the Calendar Outlook Tip: Show all Mondays in the Calendar
Ajax spinner

Newest VBA Samples

Open multiple Outlook windows when Outlook starts

Set most frequently used Appointment Time Zones

How to change the From field on incoming messages

VBA: File messages by client code

Update Contact Area Codes

Set a reminder on selected items in the To-Do List

Replicate GTD: Create a task after sending a message

Use VBA to read fields in attached messages

Move Outlook Folders using VBA

Replicate Smart Lookup using a macro

Recent Bugs List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in Outlook for Windows.

Windows 10 Issues

  • iCloud, Outlook 2016, and Windows 10
  • Better Outlook Reminders?
  • Coming Soon to Windows 10: Office 365 Search
  • Outlook Links Won’t Open In Windows 10
  • BCM Errors after Upgrading to Windows 10
  • Outlook can’t send mail in Windows 10: error Ox800CCC13
  • Missing Outlook data files after upgrading Windows?

Outlook 2016 Top Issues

  • The Windows Store Outlook App
  • Emails are not shown in the People Pane (Fixed)
  • Calendars aren’t printing in color
  • The Signature or Stationery and Fonts button doesn’t work
  • Outlook’s New Account Setup Wizard
  • BCM Errors after October 2017 Outlook Update
  • Excel Files Won’t Display in Reading Pane
  • Outlook 2016: No BCM
  • Exchange Account Set-up Missing in Outlook 2016

VBA Basics

How to use the VBA Editor

Work with open item or selected item

Working with All Items in a Folder or Selected Items

VBA and non-default Outlook Folders

Backup and save your Outlook VBA macros

Get text using Left, Right, Mid, Len, InStr

Using Arrays in Outlook macros

Use RegEx to extract message text

Paste clipboard contents

Windows Folder Picker

Custom Forms

Designing Microsoft Outlook Forms

Set a custom form as default

Developer Resources

Developer Resources

Developer Tools

Outlook-tips.net Samples

VBOffice.net samples

OutlookCode.com

SlovakTech.com

Outlook MVP David Lee

MSDN Outlook Dev Forum

Repair PST

Convert an OST to PST

Repair damaged PST file

Repair large PST File

Remove password from PST

Merge Two Data Files

Sync & Share Outlook Data

  • Share Calendar & Contacts
  • Synchronize two computers
  • Sync Calendar and Contacts Using Outlook.com
  • Sync Outlook & Android Devices
  • Sync Google Calendar with Outlook
  • Access Folders in Other Users Mailboxes
  • “Live” Group Calendar Tools

Convert to / from Outlook

  • Converting Messages and Calendar or
    Address books
  • Moving Outlook to a New Computer
  • Moving Outlook 2010 to a new Windows computer
  • Moving from Outlook Express to Outlook

Recover Deleted Items

  • Recover deleted messages from .pst files
  • Are Deleted Items gone forever in Outlook?

Outlook 2013 Absolute Beginner's Guide

Diane Poremsky [Outlook MVP]

Make a donation

Calendar Tools

Schedule Management

Calendar Printing Tools

Calendar Reminder Tools

Calendar Dates & Data

Time and Billing Tools

Meeting Productivity Tools

Duplicate Remover Tools

Mail Tools

Sending and Retrieval Tools

Mass Mail Tools

Compose Tools

Duplicate Remover Tools

Mail Tools for Outlook

Online Services

Productivity

Productivity Tools

Automatic Message Processing Tools

Special Function Automatic Processing Tools

Housekeeping and Message Management

Task Tools

Project and Business Management Tools

Choosing the Folder to Save a Sent Message In

Run Rules on messages after reading

Help & Suggestions

Outlook Suggestion Box (UserVoice)

Slipstick Support Services

Contact Tools

Data Entry and Updating

Duplicate Checkers

Phone Number Updates

Contact Management Tools

Sync & Share

Share Calendar & Contacts

Synchronize two machines

Sharing Calendar and Contacts over the Internet

More Tools and Utilities for Sharing Outlook Data

Access Folders in Other Users Mailboxes

View Shared Subfolders in an Exchange Mailbox

"Live" Group Calendar Tools

Home | Outlook User | Exchange Administrator | Office 365 | Outlook.com | Outlook Developer
Outlook for Mac | Outlook BCM | Common Problems | Utilities & Addins | Tutorials
Outlook & iCloud Issues | Outlook Apps
EMO Archives | About Slipstick | Advertise | Slipstick Forums
Submit New or Updated Outlook and Exchange Server Utilities

Send comments using our Feedback page
Copyright © 2018 Slipstick Systems. All rights reserved.
Slipstick Systems is not affiliated with Microsoft Corporation.

You are going to send email to

Move Comment