Skip to Content
0
Former Member
Feb 01, 2007 at 10:36 PM

how to convert time to to single character (number)?

22 Views

<p>hi,</p><p>i need to convert time format which is of number type into single character (number). For eg, i&#39;ve time format in 84512 which means 8 hr 45 mins and 12 secs. Now i&#39;ve to convert this to a single number like if the time is in between 12-1 am then i want to display 0, if time is in between 1-2 am then i want to display 1 and if time is in between 2-3 am i want to display 3 and so forth.</p><p>any help? its urgent.</p><p>thanks.</p>