Yuan Tian created IOTDB-6305:
--------------------------------

             Summary: Get current timestamp of iotdb server
                 Key: IOTDB-6305
                 URL: https://issues.apache.org/jira/browse/IOTDB-6305
             Project: Apache IoTDB
          Issue Type: New Feature
          Components: Core/Query
            Reporter: Yuan Tian
            Assignee: Yuxin Zhang


We want to get the current timestamp of IoTDB server through sql, like the 
following:

```

SHOW CURRENT_TIMESTAMP;

```

 

The result will be one row and one column, like:

 

---------------------

current_timestamp

---------------------

1709256258000

---------------------

 

This time is the time from server that you directly connect to, so you may find 
this time may be different from other nodes in you IoTDB cluster if you don't 
do the synchronization and calibration of computer clocks.

 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to