hjortur17
3 months ago

Store Date's in MySQL

Posted 3 months ago by hjortur17

Hi, I can't figure out how to store a date in the database. I can't use string because I'm using diffForHumans()

Here is what I have tried:

$table->timestamps('date');

Please sign in or create an account to participate in this conversation.