extract duplicated strftime to class constant