UNIX_TIMESTAMP(date):取得時間戳記SELECT UNIX_TIMESTAMP() SELECT UNIX_TIMESTAMP(‘2016-01-16') SELECT UNIX_TIMESTAMP(‘2016-01-16 23:59:59')登入後複製-> 1452937627 -> 1452873600 -> 1452959999登入後複製