2009年9月18日星期五

Re: [fw-mvc] zend_date has this method?

$date = new Zend_Date($unixtimestamp, Zend_Date::TIMESTAMP);
print $date->get();

There are many examples and options in the manual. Hope the above gets
you started

http://framework.zend.com/manual/en/zend.date.html

Regards,
Duo

On Sep 18, 2009, at 1:26 PM, sina miandashti wrote:

> hi
>
> i a field in db called => ticket_starttime
>
> i store the creation time of tickets with time(); to this field in
> db table
>
> how can i print it like a actual date with zend_date?
>
> for ex time like this 1253212662 to 2009/09/22 or 1 days ago or
> ... any formated date ?
> --
> ________________
> Sincerely
> Sina Miandashti
> MuSicBasE.ir & InvisionPower.ir Admin
>

没有评论: