In my applications I use two libraries - Node.js and Laravel - which both interact with the same MySQL database tables to modify, insert and delete various data. Since my schema is created by Laravel migrations (which allow for timestamps
), I wanted my Node.js application to also replicate the updated_at
and created_at
fields Eloquent uses. However, I realized I didn't know the format of the timestamps. So, the question was:
What is the format of Laravel's Eloquent timestamps?