activeTextField() with Timestamp field


Can I display Timestamp field using activeTextField() with localization?

For example we have table userlist that has field create_datetime TIMESTAMP WITHOUT TIMEZONE

We use AR for CRUD operations.

In view I use activeTextField($userlist,$create_datetime).

in created INPUT we can see like this:

2009-08-07 00:00:00

But I need 07.08.2009

What can i do using power of Yii?


See if my topic can help you: Dealing with i18n date formats