JC.common add some date function