Lines Matching refs:datetime
31 import datetime
238 self.last_modified = datetime.datetime.utcnow()
255 """A UTC datetime object representing the time the file used to
268 return datetime.datetime.utcfromtimestamp(mod_time)
508 op_time = datetime.datetime.utcnow()
816 op_time = datetime.datetime.utcnow()
997 'op_time' is a UTC datetime object indicating the time
1075 * 'op_time' is a UTC datetime object representing the
1221 if isinstance(val, datetime.datetime):
1222 # Convert datetime objects to an ISO-8601
1260 # datetime objects.
1472 # also has the benefit of avoiding extra datetime object
1474 op_time = datetime.datetime.utcnow()
2142 op_time = datetime.datetime.utcnow()
2354 """A UTC datetime object indicating the time the catalog was
3619 op_time = datetime.datetime.utcnow()
3811 op_time = datetime.datetime.utcnow()
3858 doc="A UTC datetime object indicating the last time the catalog "
3893 """Take datetime object dt, and convert it to a ts in ISO-8601
3899 """Take datetime object dt, and convert it to a ts in ISO-8601
3912 """Take datetime object dt, and convert it to a ts in ISO-8601
3929 return datetime_to_basic_ts(datetime.datetime.utcnow())
3934 return datetime_to_update_ts(datetime.datetime.utcnow())
3938 datetime object."""
3951 return datetime.datetime(year, month, day, hour, minutes, sec, usec)
3955 datetime object."""
3968 return datetime.datetime(year, month, day, hour, minutes, sec, usec)