SELECT unix_timestamp(from_unixtime(unix_timestamp(),'yyyy-MM-dd 00:00:00')); 获取当天0点开始的时间戳 看清楚是HIVE的SQL,其他数据库不通用