date form func toString change