How to comapare the time inspite of 12/24 hrs

Question: Hi,

How to compare the time with another time. For instance

Time A is 21:30:00 (today's time). It has to be compared with time B is 06:45:00 (tommorow time).

How does system recognize that which is latest time. which time format it follows : 24 hr / 12 hr .

Is there any FM ?

Thanks in advance.

jay

Answer:
Just a stab in the dark, but maybe you need to consider the date as well as the time.

hth

m@t
_________________
TULY The quality of answers is roughly proportional to the quality of the question.

The downside of being better than everyone else is that people tend to assume you're pretentious.

Answer:
if both time lie on a same day how does SAP know whether it is am or pm??

Answer:
If the time is less than 12:00 then it is am. Othewise pm.

m@t
_________________
TULY The quality of answers is roughly proportional to the quality of the question.

The downside of being better than everyone else is that people tend to assume you're pretentious.

Answer:
If both the times are in AM / PM format then how to compare both of them for a same day.

Answer:
If the time is always in 12 hour format, and there is no indicator of whether it is am or pm, then you can't differentiate.

m@t
_________________
TULY The quality of answers is roughly proportional to the quality of the question.

The downside of being better than everyone else is that people tend to assume you're pretentious.
Copyright ?2007 - 2008 www.jt77.com