In power basic for Dos, how does one perform date/time
calculations?
For example, can I:
Tyme1$=15:30:45
Tyme2$=13:22:05
Tyme3$=Tyme1$-Tyme2$
How can I get Tyme3$ to equal 01:08:40 ?
Same deal with dates?
Dayte1$=20030215 :'format YYYYMMDD
Dayte2$=20030101
Dayte3$=Dayte1$-Dayte2$
I would like for Dayte3$ to equal 14 days in some fashion. Is
this possible? I have pulled out about a handful of hair to
make this work.
This is for employee time clock funtions and calculating
interest.
Thank you.
Robert
------------------
calculations?
For example, can I:
Tyme1$=15:30:45
Tyme2$=13:22:05
Tyme3$=Tyme1$-Tyme2$
How can I get Tyme3$ to equal 01:08:40 ?
Same deal with dates?
Dayte1$=20030215 :'format YYYYMMDD
Dayte2$=20030101
Dayte3$=Dayte1$-Dayte2$
I would like for Dayte3$ to equal 14 days in some fashion. Is
this possible? I have pulled out about a handful of hair to
make this work.
This is for employee time clock funtions and calculating
interest.
Thank you.
Robert
------------------
Comment