You can add a separator to the Gantt chart to highlight the current date/time:
https://doc.daypilot.org/gantt/separators/
The separators are marked with "gantt_default_separator" CSS class - you can use it to make the line dotted:
JavaScript:
dp.separators = [
{
date: DayPilot.Date.today(),
color: "transparent"
}
];
CSS:
<style>
.gantt_default_separator {
border-right: 1px dotted red;
}
</style>