I think you need to revisit your logic and reconcile your description with what's been coded.
Again....
Code:
# assigns the value of the variable 'filedate' to the variable 'date'
date=$filedate
# assigns CURRENT time to the variable 'fdate'
fdate=`date +%Y%m%d%H%M%S`