Support Tstamp to int conversion.