J John Member Dec 30, 2019 #1 Hello Team, There is a requirement to send email after 10 and 20 hours. Could you please suggest function to calculate time difference in hours? Thanks
Hello Team, There is a requirement to send email after 10 and 20 hours. Could you please suggest function to calculate time difference in hours? Thanks
Stefan Well-Known Member Dec 30, 2019 #2 add-interval Code: def var dt as datetime no-undo. dt = now. message dt skip add-interval( dt, 10, "hours" ) .
add-interval Code: def var dt as datetime no-undo. dt = now. message dt skip add-interval( dt, 10, "hours" ) .
J John Member Dec 30, 2019 #3 Thanks for the reply. We have to compare NOW with last update date variable[ data type is datetime].
Stefan Well-Known Member Dec 30, 2019 #4 At the bottom of the help page I included, there is a 'See also' section, this includes the interval function.
At the bottom of the help page I included, there is a 'See also' section, this includes the interval function.