Log in

View Full Version : DateTime - insert manual date



allahverdi
09-03-2008, 06:16 PM
Today this mysql makes me crazy . . .

I have a question. How to insert my own date (not current date) to datetime colomn?

tfit
09-03-2008, 06:31 PM
What is your string?

allahverdi
09-03-2008, 06:33 PM
"2008-01-01"

tfit
09-03-2008, 06:36 PM
if you read the manual correctly it should be 20080101 "YYYYMMDD"

allahverdi
09-03-2008, 06:44 PM
Oh thanks a lot, really thanks.

tfit
09-03-2008, 06:47 PM
Mr. Timesaver how come you got 22 thanks I only 13? :D. How much is a bribe?:p

allahverdi
09-04-2008, 05:47 AM
Mr.Timeserver N2, i can sell all thanks $5 per thanks :D

tfit
09-04-2008, 08:40 AM
Mr.Timeserver N2, i can sell all thanks $5 per thanks :D

I wish i could afford.:)