[Gambas-user] File date (and time) / Gambas2

Fabien Bodard gambas.fr at ...626...
Fri Nov 4 13:45:57 CET 2011


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 <bbruen at ...2308...>:
> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fabien Bodard




More information about the User mailing list