Possible to sort via two time stamps and display same row twice.

Posted by jamiethompson90 on Stack Overflow See other posts from Stack Overflow or by jamiethompson90
Published on 2010-04-15T22:40:06Z Indexed on 2010/04/15 22:43 UTC
Read the original article Hit count: 228

Filed under:
|
|

I'm looking at creating a time table solution. I have a task sheet that looks like

Area 1 item 1 startTime endTime
Area 1 item1 startTime endTime

I wish to create a display where I can view what even is happening next, either endTime or startTime

i.e.

Newcastle reel 16:45 18:45
Newcastle reel2 17:45 19:45

would output

Newcastle reel 16:45
Newcastle reel 17:45
Newcastle reel 18:45
Newcastle reel 19:45

More so, I would like to detect if the time is a startTime or an endTime would I have to enter two rows for each activity (time,area,item, start|end). I can make the interface to the creation of two rows. I just wondered if there was a better solution.
Any input is appreciated,
Thanks,
Jamie

© Stack Overflow or respective owner

Related posts about mysql

Related posts about timetracking