Date Helper to Euro Format |
[eluser]jongliko[/eluser]
Hi, I'm new to CI and I can't figure out how to transform a Unix Time Stamp to dd/mm/yyyy with the date_helper. Is it possible ? Thanks for your help Nicolas
[eluser]jalalski[/eluser]
Well, it's standard PHP: Code: $datestr = date('d/m/Y', $unixtimestamp); See http://php.net/date for all the options.
[eluser]jongliko[/eluser]
Thanks for your answer. I'm always trying to use the helpers provided by CI to discover every function of it. But of course it's difficult to do quicker than Code: date('d/m/Y', strtotime( $datetime)) Thanks again for your help Nicolas |
Welcome Guest, Not a member yet? Register Sign In |