Changing time point with writing result to database.