CAST(CONVERT(VARCHAR(10), tLoan_Head.DateTrans, 103) AS nVarchar(6))+
CAST(CASE WHEN DATEPART(YEAR, tLoan_Head.DateTrans) < 2500 Then DATEPART(YEAR, tLoan_Head.DateTrans) + 543
ELSE DATEPART(YEAR, tLoan_Head.DateTrans) END AS nVarchar(4)) AS DateTrans