implemented Date conversion, getDate and getTime

pass in the current interation and the step value:
getDate return date value
getTime returns minute value