LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

comparing time

I want to compare the time to display working shift like Morning 7:15 to 14:00 is A shift and 14:00 to 22:30 - B shift . Please some one give the solution.

 

 

Thanks in advance

Anilkumar

0 Kudos
Message 1 of 5
(2,315 Views)

You could try this:

compare time1.png


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
0 Kudos
Message 2 of 5
(2,306 Views)

@Anilgk wrote:

I want to compare the time to display working shift like Morning 7:15 to 14:00 is A shift and 14:00 to 22:30 - B shift.


What should the result be for times before 7:15 or after 22:30? Please provide a complete problem specifications. 😉

0 Kudos
Message 3 of 5
(2,304 Views)

Ignore this post, I though Altenbach was asking a question, not making a request!!


--------------------------------------------------------------------------------------
Wes Ramm, Cyth UK
CLD, CPLI
0 Kudos
Message 4 of 5
(2,293 Views)

@Wes Ramm wrote:

In this case, the value for the resulting string is limited to what the two "Select" primitives, linked in series, can do.


Yes, the code by .:aCe:. is an over-interpretation of the incomplete problem specification by Anilkumar. It was not specified what should happen in the exception case. In any case, I am sure there is a significantly simpler solution. 😉

0 Kudos
Message 5 of 5
(2,286 Views)