LOCALTIME()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Xpand
Topics on this page:
Overview
See NOW().
USAGE
LOCALTIME([precision])
Argument Name | Description |
---|---|
| Optional. The number of desired decimal digits (0-6). Default: 0 |
EXAMPLES
SELECT LOCALTIME();
+---------------------+
| LOCALTIME() |
+---------------------+
| 2020-10-13 21:04:32 |
+---------------------+
SELECT LOCALTIME()+0;
+---------------------+
| LOCALTIME()+0 |
+---------------------+
| 20201013210432.0000 |
+---------------------+
SELECT LOCALTIME(6);
+----------------------------+
| LOCALTIME(6) |
+----------------------------+
| 2020-10-13 21:04:32.489851 |
+----------------------------+