>Well, since its hockey, you know that there are 20 minutes in a period, >so any numbers greater than 20 (ie 36) are going to be seconds (00:36) >but two digit numbers 20 or less are going to be an area that needs more >definition. Is 18 supposed to be 18:00 or 00:18? I think that needs to >get solved before tackling any other parts of the problem. > >Judah > >Bobby Hartsfield wrote: >>
Yes, pro hockey is 20 minute periods. We play 12 minute periods to fit the game in an hour. Scenario: A goal is scored at 10:24 in a 12 minute period. The time on the scoresheet should be 1:36. I need a way for the stats person to put in 1024 and have the code enter 1:36 into the database. Yes, it is funky, but that is how it works. I can get the right string by using: <cfset thenumber = "1024" /> <cfset thenumber = left(numberformat(thenumber, "0000"), 2) & ":" & right(numberformat(thenumber, "0000"), 2) /> which returns 10:24. I need to get the 1:36 now. UGH! JH ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282727 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

