Quoting the jquery library:
$(function() {
$('#demo').jclock();
$('#local').click(function() { $('#demo').jclock() });
$('#with').click(function() { $('#demo').jclock({ withDate: true, withWeek: true }) });
$('#utc').click( function() { $('#demo').jclock({ withDate: true, utc: true }) });
});
Front-end code: