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
Rochus Meijer
1 answers
7
Rochus,
You need to use formatdatetime($Object/DateOfBirth,'dd-MM-yyyy')
See here for details