Date translation functions wrote