Hi there,

How would I go about setting a date/time to 0? Basically I want the time to be 00:00:00 so that when I use the addseconds function of say 120 seconds it reads 00:02:00

Any help would be much appreciated.

>> How would I go about setting a date/time to 0?
Setting computer date/time??or just on your program?

Hi there,

How would I go about setting a date/time to 0? Basically I want the time to be 00:00:00 so that when I use the addseconds function of say 120 seconds it reads 00:02:00

Any help would be much appreciated.

Hi,
I think you want like Stop Watch. Date variables dont take such values, If u set 00:00:00 it automatically changes to 12:00:00 AM.

You can create Your own Date class that implements the desire functionality using class module.

Hi, thanks for the reply

I wasn't sure about how to create my own date class but in the end I set the label to 00:00:00 and used division and modulus to extract out the hours minutes and seconds and then used concatenate which seems to be working. Is this way of doing it ok?

This question has already been answered. Start a new discussion instead.