dates helper function
pass along scaffold & render dates