Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/p/r/Products.CMFCalendar-2.3.0-beta/Products/CMFCalendar/browser/calendartool.py   Products.CMFCalendar(Download)
        if (current.year() == year and
            current.month() == month and
            current.day() == int(day)):
            if event:
                return 'todayevent'

src/p/r/Products.PloneSurvey-1.4.6/Products/PloneSurvey/tests/testDateQuestion.py   Products.PloneSurvey(Download)
        sdq1.setRequired(True)
        now = DateTime()
        now_value = str(now.year()) + '/' + str(now.month()) + '/' + str(now.day()) + ' ' + str(now.hour()) + ':' + str(now.minute()) + ':00 GMT'
        self.layer['request'].form['sdq1_ampm'] = ''
        self.layer['request'].form['sdq1_day'] = str(now.day())