Added getBeginningOfDayTs