- Learning Apache Cassandra(Second Edition)
- Sandeep Yarabarla
- 103字
- 2021-07-03 00:19:29
Timestamp
Date and time can be stored using the timestamp type, which holds date/time data with millisecond precision. Timestamp literals are enclosed in single quotation marks like string literals, and they take the yyyy-mm-dd HH:mm:ssZ format, for example 2014-05-18 15:49:31-0400. There is no type that stores the date without the time, although the time portion of a timestamp literal can be omitted, which defaults the time to midnight in the given time zone. To represent timestamps with millisecond precision, you may also use an integer literal with the number of milliseconds since midnight UTC on January 1, 1970, for instance 1,400,442,761,830.
推薦閱讀
- 計(jì)算機(jī)應(yīng)用
- 21天學(xué)通JavaScript
- Cinema 4D R13 Cookbook
- Linux Mint System Administrator’s Beginner's Guide
- AWS Certified SysOps Administrator:Associate Guide
- 人工智能與人工生命
- 高維聚類知識(shí)發(fā)現(xiàn)關(guān)鍵技術(shù)研究及應(yīng)用
- 電氣控制與PLC技術(shù)應(yīng)用
- 網(wǎng)絡(luò)安全技術(shù)及應(yīng)用
- Extending Ansible
- ESP8266 Robotics Projects
- MATLAB-Simulink系統(tǒng)仿真超級(jí)學(xué)習(xí)手冊
- 簡明學(xué)中文版Flash動(dòng)畫制作
- 傳感器原理及實(shí)用技術(shù)
- Effective Business Intelligence with QuickSight