format_date

Ņonverts date object to a date string. Used to send data back to the server

dateDatethe date which needs formatting

Example

var dateToStr = scheduler.date.date_to_str("%Y-%m-%d %H:%i");
scheduler.templates.format_date = function(date){
    return dateToStr (date);
};

Details

Check Date Format Specification.

See also
Back to top