Thanks, The code gives the numbers in "days", how can I adjust the code to directly get the numbers in "hours"? I tried units but it did not work. Thanks1 -- View this message in context: http://r.789695.n4.nabble.com/time-extraction-and-normalization-tp4646275p4646298.html Sent from the R help mailing list archive at Nabble.com.