Forum Discussion
bootest
Jun 30, 2022Copper Contributor
updating time field with choice of two times
Hi is it possible to add an auto updating time field in a word document that updates to show one of two specific times depending on the time the document is being written? EG to create a show report ...
- Jun 30, 2022
The following field construction will show 7:30 pm if the present time is later that 7 pm, otherwise, it will show 2 pm
{ IF { DATE \@ hh } > 19 "7:30 pm" "2 pm" }
You must use CTRL+F9 to insert each pair of field delimiters { } and ALT+F9 to toggle off their display and F9 to update the result.
Jun 30, 2022
The following field construction will show 7:30 pm if the present time is later that 7 pm, otherwise, it will show 2 pm
{ IF { DATE \@ hh } > 19 "7:30 pm" "2 pm" }
You must use CTRL+F9 to insert each pair of field delimiters { } and ALT+F9 to toggle off their display and F9 to update the result.
bootest
Jun 30, 2022Copper Contributor
Thanks mate, that worked a charm!