FTPFileItem.Modified attribute

Mar 6, 2013 at 1:49 PM
Hey,

I am from Germany and i run in to timezone problems with the modified-date attribute. It gives me the UTC time (Germany is in UTC+1) and is not convertible to my timezone with standard date-attributes like .ToLocalTime . I need the correct date in my ftps synchronizer to compare files. I could set the date correctly via .AddHours(1), but then people in other countrys run into the same timezone-problem.

I code in vb.net

Greetings
Coordinator
Mar 7, 2013 at 4:26 AM
Edited Mar 7, 2013 at 4:26 AM
The latest revision I just pushed up assumes UTC when parsing date/times from the server. You don't need to call ToLocalTime() with this code, the DateTime value should already be correct in regards to the system timezone.
Mar 7, 2013 at 5:09 PM
Where is the latest revision? On this page it says that the last update is from January. And this is the revision that I am working with.
Coordinator
Mar 7, 2013 at 5:16 PM
On the source code page.

Sent from my iPhone

On Mar 7, 2013, at 11:09 AM, vrtz <notifications@codeplex.com> wrote:

From: vrtz

Where is the latest revision? On this page it says that the last update is from January. And this is the revision that I am working with.
Mar 7, 2013 at 5:18 PM
Yeah i figured it out myself. I thought you put up the final dll with every update. Thank You!
Mar 8, 2013 at 1:18 PM
The newest code does exactly what you said. This particular function works now.

Thank You.