How to print the Header date

How do I extract the scheduler header date? I am able to set the format but i cannot print the date on the header


As I understand the question, you need to use day_date template to change the date in the header.

I only want to print the current day_date value in PHP. How do i access the value?

I tried to print the value to the console, but i get the current date as well as the following 7 dates

scheduler.templates.day_date = function(date){
var formatFunc =;
    return formatFunc(date);

I only want to print 6 Mar 2019

You need to update formatFunc according to your requirements. Use date_to_str to set required format

Please check the example how it might be implemented