making sure to return longs from all timestamp methods to prevent OverflowError