let format_string = "%F %T %z";
let date_object = new Date();
let formatted_string = strftime ( format_string, date_object );

Everything but %E %G %g %O and %+ are supported
(as specified in "man strftime" of the "Linux man-pages project", release 4.14)

Additionally %q is used as a non standard way to mark milliseconds