Wrote the edit transaction date part of et function