How do I add a timestamp to a Tedds for Word document?

Tekla Tedds for Word
2021
Tekla Tedds Tekla Tedds for Word
2020
Tekla Tedds Tekla Tedds for Word
2019
Tekla Tedds Tekla Tedds for Word
2018
Tekla Tedds Tekla Tedds for Word
2022
Tekla Tedds Tekla Tedds for Word
2023
Tekla Tedds Tekla Tedds for Word
2024
Tekla Tedds Tekla Tedds for Word
time
stamp

 

Tedds includes three Tedds fields for showing the current date and time within a Tedds for Word document. These fields are not the same as the standard Word fields for displaying the date and time because they are automatically updated whenever the fields are calculated. The Tedds Date and Time fields are useful for including a timestamp within your document so that you know when the document was last calculated.
There are three different Tedds fields, Date, Time, and DateTime, each field will show the date and/or time at the exact time they are calculated.

Solution

To use the Tedds Date and Time fields you need to insert a blank Word field and then enter the appropriate Tedds field code, for example to insert a Tedds Date field:
  1. Insert a blank Word field by pressing the keys Ctrl+F9.
  2. Type =CSC|CALL Date()
  3. {=CSC|CALL Date()}
  4. If you now calculate the document the field will update to show today's date.
    For example: 01/10/2013

Similarly you can insert a time field as follows:
  1. Insert a blank Word field by pressing the keys Ctrl+F9.
  2. Type =CSC|CALL Time()
  3. {=CSC|CALL Time()}
  4. If you now calculate the document the field should update to show the current time. 
    For example:  10:23:07 AM

There is also a combined version DateTime which will show both the date and time as shown below:
  1. {=CSC|CALL DateTime()}
    ​For example: 01/10/2013 10:23:07 AM

The default format used to display the date and time is determined by your Windows settings, however all three date and time fields can also be supplied with an optional format string which specifies how Tedds should format the date and time. For example: {=CSC|CALL DateTime("'This document was last calculated on' MMMM d yyyy 'at' HH:mm:ss")}
This document was last calculated on January 10, 2013 at 10:23:07

For more information about using the optional format flags and the Date and Time fields in general please use the Index in the Library Access System and refer to 'Writing your own custom calculations > Calculation writing documentation > Tedds functions > Date and time'.
 
Var det här användbart?