06-03-2015 06:52 AM
hi,
how to convert 150(int)minute to 02:30(string) hour minute.if any other method without this program.
Solved! Go to Solution.
06-03-2015 07:15 AM
I prefer Scan from String (as I can do it "all at once"), but it is basically the equivalent of your code. That's about as efficient as it comes ...
BS
06-03-2015 07:19 AM
@Bob_Schor wrote:
I prefer Scan from String (as I can do it "all at once")
I think you mean Format String in this case.
06-03-2015 08:08 AM
06-03-2015 01:57 PM
06-03-2015 04:51 PM
Oops ... Of course I did.
BS
06-04-2015 12:32 AM
hi,
pls send me some example...
06-04-2015 06:02 AM - edited 06-04-2015 06:03 AM
madhanskm wrote: pls send me some example...
06-04-2015 08:01 AM
08-14-2015 07:54 AM
I'm currently trying to do some verry similar...
Input: # of minutes to countdown
Output: countdown time string in HH:MM:SS format. (I realized the correct format is %02d right after I uploaded it)
pic of code (vi is attached V2014):
http://i.imgur.com/ssHGMI5.png
Is there a smarter way to do this where is skips the "00:01:60" count?
Thanks
-pat