LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

file creation time

Solved!
Go to solution

hi,there,i don't know how to read the file time inlabview, anyone who knows,please help ne,thanks !

0 Kudos
Message 1 of 6
(3,919 Views)

Are you looking for the Windows file creation date, or the last modification date (which can be earlier than the creation date Smiley Very Happy) ?

 

If the last modification date is ok, then just use the File I/O->Adv File Functions->File/Directory Info node.

Otherwise you need to download the OpenG File package with the VIPM. In there is a function that also returns the creation date for a file as shown in the file properties dialog for that file.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 6
(3,908 Views)

I would use "File Info.vi" available from the OpenG toolkit.

 

"There is a large rabbit hole opening at your feet Allice"-C.L. Dodgeson


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 6
(3,907 Views)
Solution
Accepted by topic author maxmius

In addition to Creation Time, the attached VI also provides Last Access and they are returned as native timestamp controls, where the OpenG while providing more information, returns the data as a U32.  It needs OpenG Error but that can be removed.

Message 4 of 6
(3,891 Views)

It's easier to use dot NET

 

 

George Zou
Message 5 of 6
(3,874 Views)

thanks everyone !

0 Kudos
Message 6 of 6
(3,824 Views)