Rakeem
Rakeem

Reputation: 81

Unix time in SQL

Is it possible to get the current UNIX timestamp with sql?

Upvotes: 8

Views: 307

Answers (1)

Victor Welling
Victor Welling

Reputation: 1897

Try UNIX_TIMESTAMP():

SELECT UNIX_TIMESTAMP();

Upvotes: 10

Related Questions