Handling the timestamps