akoumjian / datefinder

Find dates inside text using Python and get back datetime objects
http://datefinder.readthedocs.org/en/latest/
MIT License
634 stars 166 forks source link

Not able to extract dates from a string #53

Open geetanjali10 opened 7 years ago

geetanjali10 commented 7 years ago

I have tried running this code as: string_with_dates = """ I want to apply for leaves from 12/12/2017 to 12/18/2017""" import datefinder matches = datefinder.find_dates(string_with_dates) for match in matches: print match

But it is not extracting any date values

ArifTookitaki commented 5 years ago

for the string: "ABCDEF GHIJK LMNO PQR DATED 28/5/18 APQ 0000000501960009001673 MNOP33642000014622924

got the following error: OverflowError: signed integer is greater than maximum