1. Tracy Lamb
  2. PowerBuilder
  3. Thursday, 30 September 2021 14:10 PM UTC

Hi friends,

How do add days to a datawindow smalldatetime field in script?  I'm trying to compute an invoice due date based on the invoice date and the selected terms (30, 60, 90, etc).




Accepted Answer
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 30 September 2021 14:20 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi Tracy;

   Have you looked at using the "RelativeDate" command for this?

Regards ... Chris

  1. Tracy Lamb
  2. Thursday, 30 September 2021 20:50 PM UTC
Thanks you Chris! That's the function I was looking for but for some reason couldn't find it in the online documents.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 30 September 2021 23:17 PM UTC
Glad to be of help! ;-)
  1. Helpful
There are no comments made yet.

There are replies in this question but you are not allowed to view the replies from this question.