Show log entries in a date range
I have a problem here with a log file I read in. Basically, the function takes in two strings (startdate, enddate) and should output all the log entries of the file that's being read in (a log file, each line is formatted "Day of the week" "Date" "Time" "user" "message"). For example, if startdate is 01/01/2005 and enddate is 01/31/2005, then the fuction should print out all the entries between these two dates.
How should I go about doing this? From just thinking about it, I'm lead to believe that I need to convert the strings startdate and enddate into time objects, correct?