It is best to use the timestamp data type in both MySQL and T-SQL.
Using timestamps allows you to perform costing on data with much easier queries, additions or days of lookup, months, years, whatever you are. In addition, ordering is easier.
Timestamps also contain part of the time zone, so if you ever need to internationalize your site, it would be easier.
Most languages, such as PHP, also have functions for displaying timestamps in a format of your choice so that you can convert timestamps to more readable formats.
Finally, javascript / jquery plugins often require complete timestamps to perform calculations on jQuery timeago dates and times, for example.
source share