Thank you, Fabien and Bruce,

on my Gambas FileInfo is unknown, so I used

Stat(...).LastModified

That works fine.

Rolf

Am 04.11.2011 13:45, schrieb Fabien Bodard:
> dim hFileinfo as FileInfo
>
> hFileInfo = Stat(user.home&/ "myfile")
>
> Print hFileInfo.LastModified
>
> http://gambasdoc.org/help/lang/stat
> http://gambasdoc.org/help/comp/gb/stat
>
> 2011/11/4 Bruce Bruen<bbr...@paddys-hill.net>:
>> On Fri, 2011-11-04 at 12:03 +0100, Rolf-Werner Eilert wrote:
>>
>>> Hi folks,
>>>
>>> I know I solved this somewhere in my projects a long time ago, but I
>>> don't remember how... :-) So could you help me: How to find out a file's
>>> date and time?
>>>
>>> I would expect a File.Date or something, but there isn't...
>>>
>>> Thanks for your hints!
>>>
>>> Rolf
>>>
>>
>> Stat class in gb
>>
>> Bruce
>>
>>
>>
>> ------------------------------------------------------------------------------
>> RSA(R) Conference 2012
>> Save $700 by Nov 18
>> Register now
>> http://p.sf.net/sfu/rsa-sfdev2dev1
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
>
>


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to