def get_poem_date(poem_container_soup):
  """Read in a soup object containing a poem and return the poem's date"""
  try:
    date_soup = poem_container_soup.findAll("div", { "style" : "text-align:right" } )[0]
    date = ''.join(date_soup.findAll(text=True))
  except:
    date = "undated"
  return date