Brug UNIX_TIMESTAMP
;
SELECT UNIX_TIMESTAMP('2007-11-30 10:30:19');
Opdatering:
SELECT UNIX_TIMESTAMP(CAST(fieldName AS DATE));
Brug UNIX_TIMESTAMP
;
SELECT UNIX_TIMESTAMP('2007-11-30 10:30:19');
Opdatering:
SELECT UNIX_TIMESTAMP(CAST(fieldName AS DATE));