Welcome Guest, Not a member yet? Register   Sign In
Handling the date
#1

[eluser]Subfactor[/eluser]
I have a simple question. How/what is the best method of adding the date/time to a row in my database. Is there a simple method in CI that can do this quickly ... am I over looking something any help would be great!
#2

[eluser]xwero[/eluser]
If there is no user input for the date/time you can use the database date/time functions. If there is user input you have to validate the input and maybe transform the date to fit the field format.

You can check CIs date helper to find something you are after.




Theme © iAndrew 2016 - Forum software by © MyBB