labpack/records/time.py
def new(cls):

        ''' a method to generate the current datetime as a labDT object
        
        :return: labDT object
        '''

        dT = datetime.utcnow().replace(tzinfo=pytz.utc)
        dt_kwargs = {
            'year': dT.year,
            'month': dT.month,
            'day': dT.day,
            'hour': dT.hour,
            'minute': dT.minute,
            'second': dT.second,
            'microsecond': dT.microsecond,
            'tzinfo': dT.tzinfo
        }
        return labDT(**dt_kwargs)
 a method to generate the current datetime as a labDT object
        
        :return: labDT object
        
a method to generate the current datetime as a labDT object
a method to generate the current datetime as a labDT object
def new(cls):
        dT = datetime.utcnow().replace(tzinfo=pytz.utc)
        dt_kwargs = {
            'year': dT.year,
            'month': dT.month,
            'day': dT.day,
            'hour': dT.hour,
            'minute': dT.minute,
            'second': dT.second,
            'microsecond': dT.microsecond,
            'tzinfo': dT.tzinfo
        }
        return labDT(**dt_kwargs)
def new ( cls ) : dT = datetime . utcnow ( ) . replace ( tzinfo = pytz . utc ) dt_kwargs = { 'year' : dT . year , 'month' : dT . month , 'day' : dT . day , 'hour' : dT . hour , 'minute' : dT . minute , 'second' : dT . second , 'microsecond' : dT . microsecond , 'tzinfo' : dT . tzinfo } return labDT ( ** dt_kwargs )
a method to generate the current datetime as a labDT object
a method to generate the current datetime as a labDT object
''' a method to generate the current datetime as a labDT object
        
        :return: labDT object
        '''
None
cls