> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/7.6/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/7.6/data-center/data-preparation-beta-release/data-preparation-workspace/transforms/conversions.md).

# Conversions

**Convert Duration**

The transform converts any duration (day, hour, minute, seconds, milliseconds) to any specified duration.

To perform the transform, select the column which has the duration to be converted and specify the duration type.

* **From:** The type of source interval
* **To:** The type of destination interval
* **Precision:** The decimal points to be retained
* Click the ***Submit*** option.

Below is the snapshot of how the ***Convert Duration*** transform when applied converts the selected data:

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FLf8uiNbca1bYT8pxk0IK%2Fimage.png?alt=media&amp;token=222dae5d-2d69-4684-bf3a-9f0228dbad68" alt=""><figcaption></figcaption></figure>

The selected converts to   &#x20;

<figure><img src="https://4128708524-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGDmsjfjJBNqow7Fo97cO%2Fuploads%2FlSdGjSdeGMnwEtDEH9WO%2Fimage.png?alt=media&amp;token=53fae4b7-4c34-4418-aba5-a4edd5ed8962" alt=""><figcaption></figcaption></figure>
