Add date utils.
Fix params bug (params=false --> params=0 --> params = [0].   now: params = null).