Jump to content

Storing the current date when a user registers?


Solarpitch

Recommended Posts

Hi Guys,

Basically, what I am trying to achieve is add the current system date to a table in the database along with a user's details so I know when they registered!

Do you know how I would declare the table? I tried

[code]
cur_timestamp TIMESTAMP NOT NULL
[/code]

... but that doesnt work. Also how would it look in the insert statement?

Cheers!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.