Re: time manipulation

2006-11-05 Thread Foo JH
You can try converting $a and $b into secs, and do the math from there. Then convert back to a string format again. Alejandro Santillan wrote: > I would like to know if there exists some module that is able con add and > substract times. > > For example, I want to see the time in seconds between

Re: time manipulation

2006-10-27 Thread $Bill Luebkert
Alejandro Santillan wrote: > I would like to know if there exists some module that is able con add and > substract times. > > For example, I want to see the time in seconds between the beginning and > ending of an application. > Something like this: > > $a="13:12:01"; > $b="13:02:01"; > > $c=$a

RE: time manipulation

2006-10-27 Thread Peter Eisengrein
> I would like to know if there exists some module that is able > con add and > substract times. > > For example, I want to see the time in seconds between the > beginning and > ending of an application. > Something like this: > > $a="13:12:01"; > $b="13:02:01"; > > $c=$a-$b; > > I would like

RE: OT -- Re: time manipulation

2006-10-27 Thread Erich Singer
@listserv.ActiveState.com Subject: OT -- Re: time manipulation Alejandro Santillan wrote: > I would like to know if there exists some module that is able con add > and substract times. > > For example, I want to see the time in seconds between the beginning > and ending of an application. &

OT -- Re: time manipulation

2006-10-27 Thread Craig Cardimon
Alejandro Santillan wrote: > I would like to know if there exists some module that is able con add and > substract times. > > For example, I want to see the time in seconds between the beginning and > ending of an application. > Something like this: > > $a="13:12:01"; > $b="13:02:01"; > > $c=$a-

time manipulation

2006-10-27 Thread Alejandro Santillan
I would like to know if there exists some module that is able con add and substract times. For example, I want to see the time in seconds between the beginning and ending of an application. Something like this: $a="13:12:01"; $b="13:02:01"; $c=$a-$b; I would like $c to be 00:10:00, or 600 secs.