[Qt-interest] Get a file date of creation and modification

Srdjan Todorovic todorovic.s at googlemail.com
Wed Jun 10 12:23:37 CEST 2009


Hi,

On 10/06/2009, Sujan Dasmahapatra <sdh at lmglasfiber.com> wrote:
> Dear Friends
>
> I am creating a file management system where I am getting the file name
> from the QFileDialog. now I have the file name I want to know when the
> file was created when was it last modified. How can I get the
> information from Qt....Plss help me anyone.

You have a filename.
Create a QFile, then create a QFileInfo. Then read the documentation.

Srdjan



More information about the Qt-interest-old mailing list