Skip to content

How can I Insert a date of type Instant in cassandra database with phantom ? #929

@rimeh-bennjima

Description

@rimeh-bennjima

I want to insert a value of type Instant in db cassandra with phantom .
I have the time:

import java.util.Instant
val time = Instant.now()
2020-12-02T15:40:55.197408Z

I found in db the value : 2020-12-02T15:40:55.197Z
why the value change in cassandra? is it possible to insert the same created value?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions