convert MySQL text (Unix date) value to Int