title: Perl script to extract data from log file between two date ranges, not necessary input date exist in the file
body: <p>I have a log file and each line have a timestamp as shown below. I need to get data between two dates. For example, fetch data between Aug 9 16:24:23 and Aug 9 16:28:00 even though they dont lie in the file.</p>
  
  <pre><code>Aug  9 16:24:21 linux-447z dbus-daemon[685]: 
  Aug  9 16:24:21 linux-447z dbus[685]: [system] Activating service 
  Aug  9 16:24:21 linux-447z dbus-daemon[685]: 
  Aug  9 16:24:21 linux-447z dbus-daemon[685]: dbus[685]: [system] 
  Aug  9 16:24:21 linux-447z dbus[685]: [system] Successfully activated 
  Aug  9 16:27:46 linux-447z dhcpcd[3422]: eth0: renewing lease of 192.168.37.128
  Aug  9 16:27:46 linux-447z dhcpcd[3422]: eth0: leased 192.168.37.128 for 1800 seconds
  Aug  9 16:27:46 linux-447z dhcpcd[3422]: eth0: adding IP address 192.168.37.128/24
  Aug  9 16:27:46 linux-447z dhcpcd[3422]: eth0: adding 
  Aug  9 16:27:47 linux-447z dhcpcd[3422]: eth0: Failed to lookup
  Aug  9 16:27:47 linux-447z ifup:     eth0      
  Aug  9 16:27:48 linux-447z SuSEfirewall2:   
  Aug  9 16:29:03 linux-447z dbus[685]: [system] Activating service 
  </code></pre>