You can add a column to your database with type: timestamp and default value of "Current timestamp" and then just don't set a value for it and it will do it for you automatically.
The IP address you can find in the bindings in the SERVER variables section.