Welcome Guest, Not a member yet? Register   Sign In
dateFormat
#1

[eluser]Unknown[/eluser]
I got a field im my database who shows the date
This fiedl hava e date property.
Erlier, out from codeiginiter, I read this data like this

...select *, dateFormat(myfield, ‘%d/%m%Y’) as time_inserted…

With the helper(date), I couldn’t get the same result.
How do I can with codeigniter?
#2

[eluser]Gordaen[/eluser]
You should be able to do the same thing with the date helper using mdate('%d/%m/%Y', $timestamp);. What were you getting?




Theme © iAndrew 2016 - Forum software by © MyBB