I am trying to output dates in the Italian format using date() as follows:
date()
it_IT locale has to be installed/enabled by your server admin, otherwise this will not work.
So, Jonathan's solution is probably the best.