Hi Mark, [EMAIL PROTECTED] wrote:
hi: I don't know if it's the best way but one way is to use an POSIXct object. ( you can convert using as.POSIXct( strptime(datestring)) because then each unit of digit is a second and you can proceed from there. if you explain what you want to do exactly, maybe i can help but i think as.POSIXct is easier because it's in seconds essentially already.
Thanks for your help. I only want to get the number of days, if any, the two time segments have in common. I do hope I am clear enough.
Greetings, Ricardo -- Ricardo RodrÃguez Your XEN ICT Team ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.