Date and Time Functions
916
Name
Description
GET_FORMAT()
[924]
Return a date format string
HOUR()
[924]
Extract the hour
LAST_DAY
[925]
Return the last day of the month for the argument
LOCALTIME()
,
LOCALTIME
[925]
Synonym for NOW()
LOCALTIMESTAMP
,
LOCALTIMESTAMP()
[925]
Synonym for NOW()
MAKEDATE()
[925]
Create a date from the year and day of year
MAKETIME
[925]
MAKETIME()
MICROSECOND()
[925]
Return the microseconds from argument
MINUTE()
[925]
Return the minute from the argument
MONTH()
[925]
Return the month from the date passed
MONTHNAME()
[926]
Return the name of the month
NOW()
[926]
Return the current date and time
PERIOD_ADD()
[926]
Add a period to a year-month
PERIOD_DIFF()
[926]
Return the number of months between periods
QUARTER()
[927]
Return the quarter from a date argument
SEC_TO_TIME()
[927]
Converts seconds to 'HH:MM:SS' format
SECOND()
[927]
Return the second (0-59)
STR_TO_DATE()
[927]
Convert a string to a date
SUBDATE()
[928]
A synonym for DATE_SUB() when invoked with three
arguments
SUBTIME()
[928]
Subtract times
SYSDATE()
[928]
Return the time at which the function executes
TIME_FORMAT()
[930]
Format as time
TIME_TO_SEC()
[930]
Return the argument converted to seconds
TIME()
[929]
Extract the time portion of the expression passed
TIMEDIFF()
[929]
Subtract time
TIMESTAMP()
[929]
With a single argument, this function returns the date or
datetime expression; with two arguments, the sum of the
arguments
TIMESTAMPADD()
[929]
Add an interval to a datetime expression
TIMESTAMPDIFF()
[930]
Subtract an interval from a datetime expression
TO_DAYS()
[930]
Return the date argument converted to days
UNIX_TIMESTAMP()
[931]
Return a UNIX timestamp
UTC_DATE()
[932]
Return the current UTC date
UTC_TIME()
[932]
Return the current UTC time
UTC_TIMESTAMP()
[932]
Return the current UTC date and time
WEEK()
[932]
Return the week number
WEEKDAY()
[933]
Return the weekday index
WEEKOFYEAR()
[933]
Return the calendar week of the date (0-53)
YEAR()
[933]
Return the year
YEARWEEK()
[934]
Return the year and week
Содержание 5.0
Страница 1: ...MySQL 5 0 Reference Manual ...
Страница 18: ...xviii ...
Страница 60: ...40 ...
Страница 396: ...376 ...
Страница 578: ...558 ...
Страница 636: ...616 ...
Страница 844: ...824 ...
Страница 1234: ...1214 ...
Страница 1426: ...MySQL Proxy Scripting 1406 The following diagram shows an overview of the classes exposed by MySQL Proxy ...
Страница 1427: ...MySQL Proxy Scripting 1407 ...
Страница 1734: ...1714 ...
Страница 1752: ...1732 ...
Страница 1783: ...Configuring Connector ODBC 1763 ...
Страница 1793: ...Connector ODBC Examples 1773 ...
Страница 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Страница 1842: ...Connector Net Installation 1822 5 Once the installation has been completed click Finish to exit the installer ...
Страница 1864: ...Connector Net Visual Studio Integration 1844 Figure 20 24 Debug Stepping Figure 20 25 Function Stepping 1 of 2 ...
Страница 2850: ...2830 ...
Страница 2854: ...2834 ...
Страница 2928: ...2908 ...
Страница 3000: ...2980 ...
Страница 3122: ...3102 ...
Страница 3126: ...3106 ...
Страница 3174: ...3154 ...
Страница 3232: ...3212 ...