Re: Re: Change file dates?

2009-03-17 Thread lew1716
Neither a GMT adjustment nor DST account for the difference entirely as the following code illustrates. Also 1 seconds adjustments, such as we might use for versioning don't work properly, either. The GMT adjustment alone will probably be good enough for most purposes. If so inclined reply t

Re: Change file dates?

2009-03-16 Thread Dan Olsson
At 2009-03-17 03:15, Malcolm wrote: >BTW: I think(?) the reason for the 4 vs. 5 hour time difference is >due to variations in how daylights saving time is applied, eg. if >you're using 4 hours now, you may need to change this to 5 hours at >some point in the future and then plan on making a simi

Re: Change file dates?

2009-03-16 Thread Malcolm Greene
Vince, Foxtools documentation in VFP folder as foxtools.chm. If you can't find it, send me a note and I'll forward my copy or you can google and grab off the net. There may be an additional foxtools document floating around that was authored by George Tasker(?) - you may want to search the Univers

Re: Change file dates?

2009-03-16 Thread Vince Teachout
Malcolm Greene wrote: > Vince/Lew: > > FoxTouch() will change the time of the file properly BUT it does it > according to GMT 0. You need to substract (or add) the GMT offset of the > timezone you are in. > > For example, if you're in NYC, you're 5 hours behind GMT time. So in > this case (timezo

Re: Change file dates?

2009-03-16 Thread Malcolm Greene
Vince/Lew: FoxTouch() will change the time of the file properly BUT it does it according to GMT 0. You need to substract (or add) the GMT offset of the timezone you are in. For example, if you're in NYC, you're 5 hours behind GMT time. So in this case (timezone) you would *subtract* 5 hours from

Change file dates?

2009-03-16 Thread Vince Teachout
Oo-K, let's try that again... [Forwarded on behalf of Lew, who's stuck behind a firewall. Note: I did confirm this. I then checked the foxtools.chm, and found that foxtouch() isn't listed in there. Maybe it's an undocumented command, and this is why it's not officially used? ] Sorry for the

Change file dates?

2009-03-16 Thread Vince Teachout
[Forwarded on behalf of Lew, who's stuck behind a firewall. Note: I did confirm this. I then checked the foxtools.chm, and found that foxtouch() isn't listed in there. Maybe it's an undocumented command, and this is why it's not officially used? ] --- StripMime Report -- processed MIME parts

Re: Change file dates?

2009-03-16 Thread Vince Teachout
NickC wrote: > Vince, try: > > Set Library to FoxTools.fll > =FoxTouch(cFileName, nYear, nMonth, nDay, nHour, nMinute, nSecond) > > Nick Perfect! Thanks, Nick! ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman

RE: Change file dates?

2009-03-14 Thread NickC
oFox Email List > Subject: Change file dates? > > Is there a VFP way to change file dates for an existing file? I have > some JPGs from last Christmas, and the date stamp is wrong (camera > wasn't set correctly). > > I know I can do this with any number of free utilities, or

Re: Change file dates?

2009-03-14 Thread Dan Olsson
At 2009-03-14 14:20, Vince wrote: >Thanks, but I was looking for a VFP command, not a Linux one! :) It's also a function in foxtools.fll ** * Dan Olsson * * ___ Post Messag

Re: Change file dates?

2009-03-13 Thread Vince Teachout
Andrew Stirling wrote: > Vince > > You can TOUCH me in the morning if you want to ;) Thanks, but I was looking for a VFP command, not a Linux one! :) ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/pro

Re: Change file dates?

2009-03-13 Thread Andrew Stirling
Vince You can TOUCH me in the morning if you want to ;) Andrew Stirling 01250 874580 http://www.calcpay.co.uk HMRC Accredited UK payroll program Vince Teachout wrote: > Is there a VFP way to change file dates for an existing file? I have > some JPGs from last Christmas, and the date st

Re: Change file dates?

2009-03-13 Thread Vince Teachout
Tracy Pearson wrote: > Only through API calls. I can dig them up if you want. No, thanks. Not a big deal. Thanks anyway. ___ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this

RE: Change file dates?

2009-03-13 Thread Tracy Pearson
Only through API calls. I can dig them up if you want. -Original Message- From: Vince Teachout Sent: Friday, March 13, 2009 5:47 PM Is there a VFP way to change file dates for an existing file? I have some JPGs from last Christmas, and the date stamp is wrong (camera wasn'

Change file dates?

2009-03-13 Thread Vince Teachout
Is there a VFP way to change file dates for an existing file? I have some JPGs from last Christmas, and the date stamp is wrong (camera wasn't set correctly). I know I can do this with any number of free utilities, or even by resetting my computer date and doing a copy, but I was