def create_album(self, title, summary, access, date):
        """Create photo album

        Args:
          title: Title of the album.
          summary: Summary or description of the album.
          access: Access level string. See the picasa package __init__ file for
              valid values.
          date: Date on the album, as a string.  If eveluates to False, uses today.

        Returns:
          AlbumEntry of newly created album.
        """
        if date:
            parser = googlecl.calendar.date.DateParser()
            date = parser.determine_day(date, shift_dates=False)
            if date:
                timestamp = time.mktime(date.timetuple())
                timestamp_ms = '%i' % int((timestamp * 1000))
            else:
                LOG.error('Could not parse date %s. (Picasa only takes day info)' %
                          date)
                timestamp_ms = ''
        else:
            timestamp_ms = ''

        access = googlecl.picasa._map_access_string(access)
        return self.InsertAlbum(title=title, summary=summary,
                                access=access,
                                timestamp=timestamp_ms)
dataset/ETHPy150Open vinitkumar/googlecl/src/googlecl/picasa/service.py/PhotosServiceCL.create_album/original