Added get current date function