NI Home > Community > NI Discussion Forums

LabVIEW

Showing results for 
Search instead for 
Do you mean 
Reply
Member
Timothy 123
Posts: 171
0 Kudos

get date file created

Hi,

Is there a way in labview to get the date that a file is created, the file/directory info vi returns when a file was modified. I was wondering if there was a vi to get a timestamp of when the file was created, like when you right click a file in windows and the properties show the date that the file was created.

Thank you,

Tim
Member
Craig_D
Posts: 83

Re: get date file created

Tim,
 
Unfortunately, there is not built in Vi that can give you the file creation date. You can still retrieve the file creation date by making a few calls to KERNEL32.DLL. There is an example implementation on the discussion forums that should be helpful located here.
Regards,
 
Craig D
Applications Engineer
National Instruments