diff --git a/examples/util.html b/examples/util.html
index 2e904b2c..432ca666 100644
--- a/examples/util.html
+++ b/examples/util.html
@@ -132,7 +132,6 @@ layui.use(['util', 'layer'], function(){
// 转换日期格式
var timer = null
- if (timer) clearInterval(timer)
var toDateString = function (format) {
var dateString = util.toDateString(new Date(), format);
$('#test3').html(dateString)