The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: Force on February 14, 2012, 01:34:54 PM

Title: Getting Lines Between Two Dates
Post by: Force on February 14, 2012, 01:34:54 PM
Hi


i need to get lines from txt file

but i wanna get lines between two dates for example ;


Between December 20,2011 -- January 05,2012

How can i do it ?
Title: Re: Getting Lines Between Two Dates
Post by: qWord on February 14, 2012, 03:02:03 PM
go through all lines, read the dates (StringToDateTime()) and compare themĀ  (CompareDateTime()) with given range -> \masm32\help\DateTime.chm
Title: Re: Getting Lines Between Two Dates
Post by: Force on February 14, 2012, 03:21:12 PM
Thanks qWord

I got it