$sdate = "$tmp[-2]$tmp[-1]$tmp[0]";