EDITTIME Must Be in Minutes

ID: Q49188


The information in this article applies to:
  • Microsoft Word for Windows, versions 1.0, 1.1, 1.1a, 2.0, 2.0a, 2.0a-CD, 2.0b, 2.0c, 6.0, 6.0a, 6.0c
  • Microsoft Word for Windows 95, versions 7.0, 7.0a
  • Microsoft Word 97 for Windows
  • Microsoft Word for the Macintosh, versions 6.0, 6.0.1, 6.0.1a
  • Microsoft Word Macintosh Edition


SUMMARY

The EDITTIME field always returns the number of minutes the document has been open. This time includes any time previous to the current session that the document was open.

The EDITTIME field cannot be formatted using a date-time picture switch.

The following field displays the edittime in the hh:mm format:


   {=int({edittime}/60)}:{={={edittime}-({=int({edittime}/60)}*60)}\# 00} 
NOTE: All {} are field braces created by using the Insert Field key (CTRL+F9), not the brace keys on the keyboard.

Additional query words: 6.01.0 1.1 1.1a 1.0 word6 7.0 word95 word7 winword 1.10 winword2 1.10a 2.0 word9

Keywords : kbfield kbformat
Version : MACINTOSH:6.0,6.0.1,6.0.1a; WINDOWS:1.0,1.1,1.1a,2.0,2.0a,2.0a-CD,2.0b,2.0c,6.0,6.0a,6.0c,7.0,7.0a; :
Platform : MACINTOSH WINDOWS
Issue type :


Last Reviewed: December 22, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.