Languages
[Edit]
EN

MySQL - combine DATE and TIME into TIMESTAMP

3 points
Created by:
Teilsa
1315

In this article, we would like to show you how to combine DATE and TIME into TIMESTAMP in MySQL.

Quick solution

Practical example

Edit

Query:

Result:

MySQL - combine DATE and TIME into TIMESTAMP - result
MySQL - combine DATE and TIME into TIMESTAMP - result

Variables based example

Edit

date, time and timestamp can be strored as variables.

Related posts

Edit
1
Donate to Dirask
Our content is created by volunteers - like Wikipedia. If you think, the things we do are good, donate us. Thanks!
Join to our subscribers to be up to date with content, news and offers.

MySQL - dates

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join