Post.DateCreated format change

Jan 2, 2008 at 10:11 PM
Edited Jan 2, 2008 at 10:22 PM
Hello,

Would like to know if it's possible to change the post.datecreated format to instead of the default...

1/1/2008 12:00:00 PM

to another format like...

1.1.2008

**EDIT**

Just realised the Post.DateCreated.ToShortDateString function. But I would still like to change the / to another character if possible.

**EDIT**

Hehe, sorry, I've just found out how it's done. Post.DateCreated.ToString("dd.mm.yyyy")