[CentOS] Trouble using date function in centos