bugFix: Warning: date() expects parameter 2 to be long, array given