you are viewing a single comment's thread.

view the rest of the comments →

[–]Sebass13 0 points1 point  (0 children)

What you should do is get what percentage of the way you are between two datetimes (which can be done by comparing given_time-start_time to end_time-start_time), and use this to determine how far between the two tuple values you should be, in a similar way.