fixed timestamp to number