def _get_node_creation_time(node):
 date_string = node.extra.get('created', node.extra.get('launch_time'))
 if (date_string is None):
  return None
 else:
  return parse_date(date_string)

def _get_node_creation_time ( node ) : date_string = node . extra . get ( 'created' , node . extra . get ( 'launch_time' ) ) if ( date_string is None ) : return None else : return parse_date ( date_string )
get the creation time of a libcloud node .