Skip to content

Commit

Permalink
Merge pull request #41 from DBCG/STU4B#37
Browse files Browse the repository at this point in the history
STU4B#37: Added additional text and example
  • Loading branch information
Jason Evans authored Jun 4, 2019
2 parents 093ece4 + 70bfe48 commit 86a80cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/09-b-cqlreference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -917,9 +917,9 @@ The [.id]#ToDate# operator converts the value of its argument to a [.id]#Date# v

For the DateTime overload, the operator is equivalent to invoking [.kw]#date from# on the DateTime value.

For the String overload, the operator expects the string to be formatted using the ISO-8601 date representation:
For the string overload, the operator expects the string to be formatted using the ISO-8601 datetime representation:

YYYY-MM-DD
YYYY-MM-DDThh:mm:ss.fff(+|-)hh:mm or YYYY-MM-DDThh:mm:ss.fffZ

In addition, the string must be interpretable as a valid date value.

Expand Down

0 comments on commit 86a80cd

Please sign in to comment.