LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to read the date and time information of a file by labview

Solved!
Go to solution

how to read the date and time information of a file by labview? for example, created time and modified time.

 

0 Kudos
Message 1 of 4
(3,083 Views)
Solution
Accepted by topic author Jimmyzeng

The similar question had been discussed here (it's old thread but seems still valid):

 

http://forums.ni.com/t5/LabVIEW/file-date-created/td-p/109836

TailOfGon
Certified LabVIEW Architect 2013
0 Kudos
Message 2 of 4
(3,074 Views)

if you need to know the last modification date of file:-
"Functions->File I/O->Advanced File Functions->File/Directory Info.vi"
This vi returns the value of file's last modification date. This is returned as U32 number. To see it in MM/DD/YY format you must create the indicator, right-click on it and select "Format & Precision" item from drop-down menu. Then select "Time and Date" format there.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 3 of 4
(3,072 Views)

Hi Tail,

           I also refferd that I think it suits with what OP was asking.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 4 of 4
(3,071 Views)