[python-chinese] [django]怎样在模板里将整数形式的时间转为人可读的字符串形式

bird devdoer devdoer在gmail.com
星期二 十月 31 19:09:21 HKT 2006


在django的模板里怎么将整数形式的时间(如"123123123123")转为人可读的字符串形式


2006/10/31, Yunfeng Tao <taoyfeng at gmail.com>:
>
> 2006/10/31, BaoYongjun <byj at net.pku.edu.cn>:
> > rt
> >
>
> time.ctime() 和 time.strtime()。不妨一试。
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese




-- 
devdoer
devdoer at gmail.com
http://project.mytianwang.cn/cgi-bin/blog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://python.cn/pipermail/python-chinese/attachments/20061031/6accf897/attachment.html 


关于邮件列表 python-chinese 的更多信息