Results 1 to 5 of 5
  1. #1
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Hong Kong
    Posts
    359
    Thanks
    0
    Thanked 0 Times in 0 Posts
    How can I substract AppDate from PayDate?
    {SET Amount 1}{SET Paydate 7/1/1997 }{SET AppDate 3/19/2009}After {{AppDate} - {PayDate}} days, Mr. X fails to settle {Amount} in arrears.

    How to implement the basic arithmetic in Word field codes?

    Armstrong

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    Macropod's [topic="249902"]Word Date Calculation Tutorial[/topic] explains in detail how to perform date arithmetic in Word.

  3. #3
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts
    [quote name='armsys' post='766219' date='19-Mar-2009 15:31']How to implement the basic arithmetic in Word field codes?[/quote]
    See Word Date Calculation Tutorial (v2.70) for advice on how to manipulate dates in Word fields.

  4. #4
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Hong Kong
    Posts
    359
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [quote name='StuartR' post='766221' date='19-Mar-2009 23:34']See Word Date Calculation Tutorial (v2.70) for advice on how to manipulate dates in Word fields.[/quote]
    Thanks.
    Armstrong

  5. #5
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Hong Kong
    Posts
    359
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [quote name='StuartR' post='766221' date='19-Mar-2009 23:34']See Word Date Calculation Tutorial (v2.70) for advice on how to manipulate dates in Word fields.[/quote]
    The method to calculate the difference between two dates can be found on page 9 in Macropod's Word Date Calculation Tutorial. It's immensely useful, especially for legal documents. Macropod's discourse on date calculation using Field Codes is the most comprehensive and enormous in the universe to the best of my recollection. Macropod's article expounds not only the Field Codes but also the algorithm techniques.
    I'm grateful for Macropod's great contribution to the civilization.
    Armstrong

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •