UPDATE and possibly a solution:
I noticed that my "last modified date/time" on posts are not showing. When WP was updated last time to 3.5.1 I experienced 500 error. But since my website was up and running I thought everything was fine.
I tested out on test wordpress page on the same server and TIME DATE codes work just fine. So it must've been during WP update somehow these tables did not update right.