Question 4 : Which of the following statement is true, with regards to Timestamp datatype in Cassandra ?

Get or Download all 207 Cassandra Certification Questions from Here

DataStax Certification   Cassandra Certification   Cassandra Certification Questions  

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'

Ans : A,B,C,D,E

Exp : 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

yyyy-mm-dd HH:mmZ

yyyy-mm-dd HH:mm:ssZ

yyyy-mm-dd'T'HH:mm

yyyy-mm-dd'T'HH:mmZ

yyyy-mm-dd'T'HH:mm:ss

yyyy-mm-dd'T'HH:mm:ssZ

yyyy-mm-dd'T'HH:mm:ss.ffffffZ

yyyy-mm-dd

yyyy-mm-ddZ

Get or Download all 207 Cassandra Certification Questions from Here

DataStax Certification   Cassandra Certification   Cassandra Certification Questions