Page 1 of 1

Add 10 minutes to datetime()

Posted: Sat Jun 08, 2019 10:47 am
by Marc Vanzegbroeck
How can I add 10minutes to a datetime() value?
If I do datetime()+1, it add 1 day.

Re: Add 10 minutes to datetime()

Posted: Sat Jun 08, 2019 11:10 am
by nageswaragunupudi

Code: Select all

t := datetime()
t2 := t + ( 10/24/60 )
? t,t2
 

Re: Add 10 minutes to datetime()

Posted: Sat Jun 08, 2019 11:20 am
by Marc Vanzegbroeck
Thank you.
It's working fine.