DateTime to String

2
This should be an extremely easy process, but somehow I seem to have forget how to get a correct string from a DateTime variable. I currently have: toString(trimToDays($Object/DateOfBirth)) from which I get 16-1-83 0:00. I want it to be just 16-01-1983. Anyone? :)
asked
1 answers
6

Rochus,

You need to use formatdatetime($Object/DateOfBirth,'dd-MM-yyyy') See here for details

answered