|Subject:||Indy & .NET - FTPListItem.ModifiedDate - documentation suggestion|
|Posted by:||miha (miha.valenc…@gmail.com)|
|Date:||Tue, 12 Sep 2006|
I read the API docs that ship with Indy 10 and found no mention how to convert the double date to, say DateTime type.
Using reflector I saw what TIdSysNet is doing, and used DateTime.FromOADate(item.ModifiedDate) to convert it. Maybe it is just me, but I had no clue what this double value was supposed to represent (I even tried converting it from unix date format (seconds since 1.1. 1970) :)).
I suggest updating documentation.
Otherwise, a fine product.