1) Is there anyway to get the number of lines in a text file without having to scan through the whole file?
2) How do I compare if a date falls in between a starting date with a duration. eg. Starting date = 1st March Duration 5 days. check if a user entered date falls in between it.