I'm not sure that I understand the question, so I may need more information, but from what I can gather:
MySQL has a column type called DATETIME that actually is used for dates only (not varchar, which is for any character; I guess, you can use that as well, but I would go with DATETIME).
Code:
CREATE TABLE `dates` (
info VARCHAR(30),
date DATETIME
);
and then add the time like this:
Code:
INSERT INTO `dates` VALUE (
"Hello!",
NOW()
);
Every new row then show the time (to the second) when it was created.
Bookmarks