Util class created, it has two methods for date to string  and string to date