Experimente o UNIX_TIMESTAMP() função inst: SELECT UNIX_TIMESTAMP(c.login_datetime) as `start` FROM tbl_employees_login AS c ; Cuidado com isso: