Add getCurrentDate

the method is in comment form due to not being in used at this point of
time.