Portable TIMESTAMP fetching