Global Converting unix_to_human and human_to_unix |
[eluser]pisio[/eluser]
Hi All ! How I can from unix time to convert in human time "1277063669" to 2010-06-20 ... Now it's shows 2010-06-20 12:54:29 PM I wanna see only in /user/edit page only 2010-06-20 in other pages like as /forums/topics/ 2010-06-20 12:54..... That is my view page : Code: <?php and part of my user page Code: function edit()
[eluser]danmontgomery[/eluser]
human to unix timestamp: http://php.net/manual/en/function.strtotime.php unix timestamp to human: http://php.net/manual/en/function.date.php
[eluser]pisio[/eluser]
[quote author="noctrum" date="1277160234"]human to unix timestamp: http://php.net/manual/en/function.strtotime.php unix timestamp to human: http://php.net/manual/en/function.date.php[/quote] I think there is a already function. Ok , 10x ;p Sorry for my bad english. |
Welcome Guest, Not a member yet? Register Sign In |