Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Time Function

Status
Not open for further replies.

sanjna000

Programmer
Aug 1, 2003
132
0
0
GB
Hi there,

I have 2 variables which are used to store from time and middaystarttime.

for eg.

from time = 15:00:00
middaystarttime = 16:00:00

If from time > middaystarttime then
i need to perform a function

only prob is if i give above values, the code does not identify 4 pm is greater that 3 pm. How can i eliminate this problem?

thank u so much for u r help in advance!

Sanjna...



I need to use time diff function inorder to identify
 
Hi,

Date/Time is assigned using #
Code:
from time = #15:00:00#
middaystarttime = #16:00:00#


Skip,
[sub]
[glasses] [red]Be advised:[/red] Researchers have found another Descartes trueism, "Cogito ergo spud."
"I think; therefore, I YAM!
[tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top