#!/bin/bash date1=`date +%y%m%d%H` if [ "$date1" -gt "08022800" ] then echo "after" else echo "before" fi