# xarray.CFTimeIndex.round

#### CFTimeIndex.round(freq)[[source]](https://github.com/pydata/xarray/blob/main/xarray/coding/cftimeindex.py#L782-L797)

Round dates to a fixed frequency.

* **Parameters:**
  **freq** ([`str`](https://docs.python.org/3/builtins/stdtypes.html#str)) – The frequency level to round the index to.  Must be a fixed
  frequency like ‘S’ (second) not ‘ME’ (month end).  See [frequency
  aliases](https://pandas.pydata.org/pandas-docs/stable/user_guide/timeseries.html#offset-aliases)
  for a list of possible values.
* **Returns:**
  [`CFTimeIndex`](xarray.CFTimeIndex.html.md#xarray.CFTimeIndex)
