Math.round(new Date() / 1000). Objective-C, [[NSDate date] timeIntervalSince1970]. MySQL, SELECT unix_timestamp(now()). SQLite, SELECT strftime('%s', 'now').
確定! 回上一頁