dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
262
share rss forum feed


Grey Area

join:2003-11-18
UK

[Word] Using dates in Word fields

Is it possible to do numerical operations on dates in Word fields? We use training documents with dates in and it would be useful to create them so that dates in them are relative to when they are printed.

To explain better, we want the document to say something happened "a year ago", rather than it having a fixed date - so if we print it today, it would show as 17th August 2011, but if we print it in a year's time it woudl show as 17th August 2012.

I was thinking of using something like "{Date} -365" in a formula field...but I can't seem to get the exact format to work.

Any suggestions?


Cudni
La Merma - Vigilado
Premium,MVM
join:2003-12-20
Someshire
kudos:13


Kilroy
Premium,MVM
join:2002-11-21
Saint Paul, MN
reply to Grey Area
The link provided by Cudni See Profile was the best I could find.


Grey Area

join:2003-11-18
UK
Weeellll...I'm glad it was something simple!

Seeing as I want to distribute this to non-techy people who are going to look at all that code in the field and go "WTF?", I think I'll pass...but thanks for your efforts!