timeRange function

Create a POSIXct time range