<div>Hi David</div>
<div> </div>
<div>well actually i am writing a file parser as one module for my project which actually shows the diference i done in new file wrt to old file</div>
<div> </div>
<div>But like you said yes the time stamp will change and it isnt the ideal approach i belive now.</div>
<div> </div>
<div>i like to know is there anyway in delphi we can trace how many times the file has been modified or let say how many times the file has been saved right from the day it has created.</div>
<div> </div>
<div>Regards</div>
<div>Vikas</div>
<div> </div>
<div><br><br> </div>
<div><span class="gmail_quote">On 1/9/08, <b class="gmail_sendername">David Moorhouse</b> <<a href="mailto:delphi@moorhouse.net.nz">delphi@moorhouse.net.nz</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Vikas<br><br>What exactly are you trying to do with the detection of the file age ?<br><br>The file timestamp will reflect the system time at the time the file is
<br>saved - so obviously if the system time is changed then the timestamp on<br>the file will reflect that changed timestamp !<br><br>HTH<br><br>David<br><br><br>On Tue, 8 Jan 2008 15:37:22 +0530, you wrote:<br><br>>Hi,
<br>><br>>I have one query regarding the age of the file.<br>><br>>well is there anyway to find which file is new one. Ok let me explain my<br>>problem usign an example<br>><br>>let say i have 2 files both same files
text1.txt and text1.<br>><br>>data is text1<br>>*************<br>>Delphi 5<br>>*************<br>><br>>and it is genared at say 8th jan 2008 2:30 pm<br>><br>>now i open the tex1 file again and add more lines in it
<br>> data is text1<br>>*************<br>>Delphi 5 try Delphi 6<br>>*************<br>><br>>Now the file is saved at say 8th jan 2008 3:00pm<br>><br>>when i used FileAge function it showed file saved at 3:00pm is new
<br>><br>><br>>but i faced one problem i changed my system time to 10 december 2007 and i<br>>added more lines in it<br>><br>> data is text1<br>>*************<br>>Delphi 5 try Delphi 6<br>> try Delphi 2007
<br>>*************<br>><br>>Adn i saved it at 10 december 2007 4 pm<br>><br>>now the 10 dcember file should be the altest one sicne i have just done<br>>canges in it<br>>but the file age function failed here it showed the file genrated at
<br>>10december the old one and things went completly wrong<br>><br>>Can any one suggets me any function or way i can track the file chnage i<br>>mean any way i can trace the cahnce ireespective of system time
<br>><br>>i will really apreciate your help since i am badly struck at this stage<br>><br>>Regards<br>>Vikas<br><br><br>_______________________________________________<br>NZ Borland Developers Group - Delphi mailing list
<br>Post: <a href="mailto:delphi@listserver.123.net.nz">delphi@listserver.123.net.nz</a><br>Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a><br>Unsubscribe: send an email to
<a href="mailto:delphi-request@listserver.123.net.nz">delphi-request@listserver.123.net.nz</a> with Subject: unsubscribe<br></blockquote></div><br><br clear="all"><br>-- <br> vikas