From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,883 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,872 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,871 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,855 Views)

It's easier to use dot NET

 

 

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

thanks everyone !

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