L
Lee Jarvis
Hey guys, i have something like this
T = Time.now
TIME = "[#{$T.hour}:#{$T.min}:#{$T.sec}]"
The time format works perfectly for me unless either the minutes, hours
or seconds are 1 digit, it doesnt add a 0 in front of them, i would like
to keep them 2 digits, anyone have any idea?
3:45:8
I want, 03:45:08
Tia
T = Time.now
TIME = "[#{$T.hour}:#{$T.min}:#{$T.sec}]"
The time format works perfectly for me unless either the minutes, hours
or seconds are 1 digit, it doesnt add a 0 in front of them, i would like
to keep them 2 digits, anyone have any idea?
3:45:8
I want, 03:45:08
Tia