fixed small big in date-get used from ppd, refactored date-get into helper func