Question 39: Which of the following statement is true, with regards to Timestamp datatype in Cassandra?
A. Stores date and time
B. 64-bit integer
C. It represent Milliseconds since January 1 1970 at 00:00:00 GMT
D. Displayed in cqlsh as yyyy-mm-dd HH:mm:ssZ
E. As literal in cqlsh is '1979-07-24 08:30:15'
- A, B, C
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering Python Certification Material
Correct Answer: 5
Explanation: Values for the timestamp type are encoded as 64-bit signed integers representing a number of milliseconds since the standard base time known as the epoch: January 1 1970 at 00:00:00 GMT. Enter a timestamp type as an integer for CQL input, or as a string literal in any of the following ISO 8601 formats:
yyyy-mm-dd HH:mm
yyyy-mm-dd HH:mm:ss
You can access to full explanation to question and answer from this page.