In the Task details panel, you can define a Due date for a task.

When defining a due date (or deadline) to a task, it will show it in the Timeline as a little diamond and set a warning in red on the left side of the task

Did this answer your question?