IT. Expert System.

MYSQL

FROM_UNIXTIME()


Description

The FROM_UNIXTIME( ) function returns a unix_timestamp representation in the format 'YYYY-MM-DD HH:MM:SS' or YYYYMMDDHHMMSS.uuuuuu

This function has the form:

SELECT FROM_UNIXTIME(unix_timestamp)
Parameter Description
unix_timestamp An internal timestamp value

Return Value

Returns a unix_timestamp representation in the format 'YYYY-MM-DD HH:MM:SS' or YYYYMMDDHHMMSS.uuuuuu

Examples

The following example shows the basic use of this function:

mysql> SELECT FROM_UNIXTIME(1196440219);
-> '2007-11-30 10:30:19'
mysql> SELECT FROM_UNIXTIME(1196440219) + 0;
-> 20071130103019.000000
mysql> SELECT FROM_UNIXTIME(UNIX_TIMESTAMP(),
-> '%Y %D %M %h:%i:%s %x');
-> '2007 30th November 10:30:59 2007'


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 3689 / . Delta: 0.38117 с