def __call__(self, s):
    's : string to be converted\n           return value: a date2num float\n        '
    return date2num(datetime.datetime(*time.strptime(s, self.fmt)[:6]))
s : string to be converted
return value: a date2num float
def __call__(self, s):
    's : string to be converted\n           return value: a date2num float\n        '
    return date2num(datetime.datetime(*time.strptime(s, self.fmt)[:6]))