The getDate() method converts a pixel position to a date.
getDate(pixels [, precise[, isEnd]])
- pixels (number) - horizontal pixel position relative to the Scheduler grid; see also getCoords()
- precise (boolean) - whether a precise time position (true) or start of the current cell (false) should be returned
- isEnd (boolean) - how the border position between two cell should be treated: for true, it uses the previous cell; for false, it uses the next cell for the time calculation (applicable only when the timeline is not continuous)