Ruby On time to second, second to time

by kyzh, June 11, 2008 23:42

I got a "xx:xx:xx", I add ...

89a8a60d86afdf59c9835e7c7efce442 Talk
1
2
3
4
def sec_to_time(sec)
	t = Hash.new
	a_sec = sec.divmod(60)
...

Ruby time to second, second to time

by kyzh, June 11, 2008 21:21, 2 refactorings, tagged with ruby time seconds

I have a time in second and...

89a8a60d86afdf59c9835e7c7efce442 Talk