# Conversion API

**RadTimeline** allows you to convert a screen coordinates (a Point), to a DateTime value plotted on the timebar control. You can do that via the **ConvertPointToDateTime** method of RadTimeline. The method excepts an argument of type **Point** and it returns a **DateTime** object.

**Example 1: Getting the DateTime under the mouse**

```C#
private void UIElement_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
    Point mousePosition = e.GetPosition(radTimeline);
    DateTime date = radTimeline.ConvertPointToDateTime(mousePosition);
}
```

## See Also

* [Getting Started](https://www.telerik.com/products/wpf/documentation/controls/radtimebar/populating-with-data/mvvm-support)
* [Properties](https://www.telerik.com/products/wpf/documentation/controls/radtimebar/features/properties)
