What is difference between UNIX timestamp and mysql timestamp ?

devquora
devquora

Posted On: Feb 22, 2018

 

    1 Answer Written

  •  devquora
    Answered by Kanak

    The UNIX timestamp is used to keep track of the running number of seconds and this count is in UTC. Basically, it can be said that UNIX timestamp functions between date and UNIX epoch. On the other hand, MYSQL timestamp is a temporary type of data for the combination of time and date. The format for MySQL timestamp is fixed up to 19 characters only. The MySQL timestamp converts the value of UTC in the time zone of your connections. In terms of internet storage, both UNIX timestamp and MySQL timestamp are stored as 32-bit integers. The only difference is in the storage pattern of MySQL timestamp which is readable in the following format,

    YYYY-MM-DD HH:MM:SS

Related Questions

Please Login or Register to leave a response.

Related Questions

Mysql Interview Questions

What is MySql ?

MySql is a multi-threading, multi-user open source SQL database management system . It is typically used for web applica..

Mysql Interview Questions

In which language MYSQL it is written ?

MySql is written in C and C++ programming and SQL parser written in yacc...