dateFormat

I have a field a with value 31-12-2004

var c = utils.dateFormat(a, 'dd-MM-yyyy HH:mm')

var c is returning: 30-11-2004 00:00

Is this right behaviour?

cannot reproduce

I have been fooling around, and it seems I did something wrong!
I was using the wrong variable! :oops:

Thanks!