If your column type is DATETIME then mysql will order correctly, so to display the 10 most recent posts your would
SELECT * FROM posts ORDER BY dateupdated DESC LIMIT 10
Just forget about outdated things like UNIX Timestamp, not required in any dialect of SQL as they all have fully functional date functions to add, subtract, compare, order by and format native date data types.