added the date formatter sql to the profile