RE: getting a time diff from strings

2005-12-29 Thread Timothy Johnson
Check out the Time::Local module. -Original Message- From: Robert [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 28, 2005 6:19 PM To: beginners@perl.org Subject: getting a time diff from strings I have a log that I am parsing and I can get the login and logout time string parsed

Re: getting a time diff from strings

2005-12-29 Thread Gerard Robin
On Wed, Dec 28, 2005 at 09:18:55PM -0500, Robert wrote: From: Robert [EMAIL PROTECTED] To: beginners@perl.org Subject: getting a time diff from strings I have a log that I am parsing and I can get the login and logout time string parsed out. It looks like this: 13:50:01

Re: getting a time diff from strings

2005-12-29 Thread Robert Hicks
Thanks! Robert -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response

getting a time diff from strings

2005-12-28 Thread Robert
I have a log that I am parsing and I can get the login and logout time string parsed out. It looks like this: 13:50:01# this is the when the user logged in 14:14:35# this is when the user logged out I need to get how much time that is but I am not sure how to go about it since it is a

Re: getting a time diff from strings

2005-12-28 Thread Todd W
Robert [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a log that I am parsing and I can get the login and logout time string parsed out. It looks like this: 13:50:01# this is the when the user logged in 14:14:35# this is when the user logged out I need to get how