hi, once i read about a way to store the current date on database (the value on DB looked like "1267980827"), so you could retrieve this numbers with the date() function, and it would return the full format date.
what should i insert on my database to store this kind of value? thanks
storing current date on database
Moderator: General Moderators
- Jonah Bron
- DevNet Master
- Posts: 2764
- Joined: Thu Mar 15, 2007 6:28 pm
- Location: Redding, California
Re: storing current date on database
That column would be type Int. To INSERT that value into the table, use the value returned by time().
Re: storing current date on database
that helps a lot!
thank you!
thank you!