dated_fname(){
set --'date'
year='expr $6: '..\(..\)'
echo "$2$3_$year"
}
output:

$dated_fname // what it means

jan28_03
here this module is used to create the dated file(like jan28_03)

let you explain the process line by line??