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