Jump to content

Adding a date to mysql from php


cleary1981

Recommended Posts

doesn't really matter, with varchar, you have the flexibility of inserting the date as a string. With a timestamp, it must be of the correct timestamp format.

 

It would probably be easier to use Timestamp.

 

But in saying that. It isn't too hard to create your own custom function to grab your date if it was put into a string column(varchar).

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.