Topic: Add more Time

Hi guys

I need some help.

How can I calculate time?
Like this:

Datetimepicker.DateTime := Time+one minute

I don't want via SQL, I want via Script

Can someone help about this?

Best regards to all

Diogo Teixeira

Re: Add more Time

Hi Diogo,
Perhaps try it like this (although I'm sure there are other ways too).
Advance 1 hour = 1/24
Advance 1 minute = 1/1440
Advance 1 second = 1/86400
etc etc
See attachment.
Derek.

Post's attachments

Attachment icon dtech.zip 440.15 kb, 40 downloads since 2024-12-20