Welcome Guest, Not a member yet? Register   Sign In
Working with CURRENT_TIMESTAMP
#1

[eluser]codemonkey[/eluser]
Hello,

My web app uses CURRENT_TIMESTAMP to place a timestamp when something happens, say a new user was created and the timestamp was logged in the admin history table.

1. Is there a good resource on learning how to is this information to display a table to show all users created within the last week, for example, using active records and CI tables?

If no good resources, can you show how to do the example? Last 1 week entries from current date.

2. After doing some searching I found using CURRENT_TIMESTAMP may not of been the best option to use. If so, what should I use and how should I convert my current records to the new format?

I want to learn and use what is best for CI and if it helps me out in the long run, that's a bonus.

Thank you


Messages In This Thread
Working with CURRENT_TIMESTAMP - by El Forum - 09-11-2012, 10:14 AM
Working with CURRENT_TIMESTAMP - by El Forum - 09-11-2012, 11:55 AM
Working with CURRENT_TIMESTAMP - by El Forum - 09-12-2012, 01:15 PM
Working with CURRENT_TIMESTAMP - by El Forum - 09-12-2012, 01:31 PM
Working with CURRENT_TIMESTAMP - by El Forum - 09-12-2012, 01:59 PM
Working with CURRENT_TIMESTAMP - by El Forum - 09-12-2012, 02:02 PM
Working with CURRENT_TIMESTAMP - by El Forum - 09-12-2012, 02:08 PM
Working with CURRENT_TIMESTAMP - by El Forum - 09-12-2012, 02:09 PM
Working with CURRENT_TIMESTAMP - by El Forum - 09-12-2012, 02:12 PM
Working with CURRENT_TIMESTAMP - by El Forum - 09-12-2012, 02:18 PM
Working with CURRENT_TIMESTAMP - by El Forum - 09-12-2012, 04:24 PM
Working with CURRENT_TIMESTAMP - by El Forum - 09-12-2012, 04:30 PM
Working with CURRENT_TIMESTAMP - by El Forum - 09-12-2012, 05:34 PM
Working with CURRENT_TIMESTAMP - by El Forum - 09-13-2012, 03:58 AM
Working with CURRENT_TIMESTAMP - by El Forum - 09-13-2012, 06:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB