[root@db tmp]# ./validcount.sh Enter the date (in time_t format) :1502236799 count=2947603 [root@db tmp]#