Simple question, but still didn't found the answer. I'm storing the records in a table with one field as current timestamp (the field type is timestamp). However, when I do a SELECT, the value returned is a formatted string (like this: 2013-06-26 10:07:06), and I need the number so I can convert to another kind of date. Is there some mySQL setup, or instruction, or a php instruction?
问问题
78 次