Scheduler show UTC



Computer Time : 14:10

It currently shows the time relative to the computer clock. I want to do this as UTC +0 and make it look like the black drawing I showed. How can I do that?

Best regards.



You can change the styles of the marker line, but the dhx_matrix_now_time CSS selector, as follows:

  .dhx_matrix_now_time {
    border-left: 5px solid black;

Regarding this part:

You can do it by changing the now_date config:

by passing the UTC date into it, as follows:

var now = new Date();
var utc = new Date(now.getTime() + now.getTimezoneOffset() * 60000);
scheduler.config.now_date = new Date(utc);

Here is a demo:

Best regards,


Thanks for your help. It is working. :slight_smile: