title: MS Word: Add 30 days to current date field
body: <p>I am trying to create a field that when the Word file is opened automatically displays the current date + 30 days in the format 11/04/2016.</p>
  
  <p>I have looked into the non-trivial field format but it doesn't display anything:</p>
  
  <pre><code>{ QUOTE "{ SET " Delay" "30" }
  {  SET "DaysInMonth" { IF { CreateDate \@ "MM" } &lt;&gt; 2 
  {  = ROUND(30.575*{ CreateDate \@ "MM" },0)-
  ROUND(30.575*{ = { CreateDate \@ "MM" } -1 },0) }
  {  IF {  = MOD( { CreateDate \@"yy" } , 4 ) } &gt; 0 "28" "29" } } }
  { SET "NextMonth" {  IF {  CreateDate \@ "MM" } = 12 "1/97" 
  "{ = {  CreateDate \@ "MM" } + 1 }/97 } }
  {  IF {   = {  REF "Delay" } + { CreateDate \@ "dd" } } &lt;= { REF"DaysInMonth" }
  { CreateDate \@ "MMMM { = {  REF "Delay" } + { CreateDate \@ "dd" } }, yyyy"}{ QUOTE { NextMonth \@ "MMMM" } 
  { = { REF "Delay" } + { CreateDate \@ "dd" } - { REF"DaysInMonth" } }, 
  { IF { CreateDate \@ "MM" } &lt;&gt; 12 { CreateDate \@ "yyyy" }
  { CreateDate \@ "{ = 1 + { CreateDate \@ "yyyy" } \# "xxxx" }" } } } }" }
  </code></pre>
  
  <p>I am trying this in Word 2007.</p>