format_date
Description
Wandelt ein Date-Objekt in einen formatierten Datumsstring um. Dies ist nützlich, um Datumsangaben zurück an den Server zu senden.
format_date: (date: Date) => string
Parameters
date- (required) Date - das Datum, das formatiert werden soll
Returns
text- (string) - eine String-Darstellung des Datums
Example
var dateToStr = scheduler.date.date_to_str("%Y-%m-%d %H:%i");
scheduler.templates.format_date = function(date){
return dateToStr(date);
};
Details
Siehe Datumsformat-Spezifikation für weitere Details.
Related Guides
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.