mysql get seconds from datetime code example Example: mysql get seconds from datetime SECOND(created_at)