re-doing the get_create_date subroutine