时间戳问题到Cassadnra表


Timestamp issue into Cassadnra table

我在时间戳中插入值,但得到如下问题。

insert INTO isbn_seller_det (isd_id, added_date_on ,isbn_no) VALUES ( uuid(),'2014-09-05','9999999999');

当我检查到cassandra表

插入后
nandan@cqlsh:crawl_dev> SELECT * FROM  isbn_seller_det;
 isd_id                               | added_date_on            | bad_cmt | good_cmt | isbn_no    | our_rate | overall_per | seller_id | tot_com
--------------------------------------+--------------------------+---------+----------+------------+----------+-------------+-----------+---------
 2dd202ca-2b53-446b-8184-0211bab2a9d7 | 2014-09-05 00:00:00+0000 |    null |     null | 9999999999 |     null |        null |      null |    null

我说得很对。但是,当我试图检查这个记录在PHP API,我的added_date_on列反映一些整数值为1125927240。

所以你能告诉我这是怎么回事吗?发生了哪种类型的转换。

您是否尝试使用toDateTime()方法?