views:

246

answers:

3

Hi , I am working on files and folder ....How i can get the creation time of the file folder even millisecond bcoz i am facing files folder created on same second..i am able to get hr:min:sec but getting millisecond as zero when i use Fileinfo or Directoryinfo.creationtime.millisecond..... Plz how can i overcome this problem thanks in advance

+3  A: 

It's likely that your filesystem does not store creation date that precise.

Mehrdad Afshari
Not just likely - almost certain.
ctacke
A: 

Using pinvoke to GetFileTime and then convert to SYSTEMTIME

Preet Sangha
A: 

Have a look here, where a similar question is discussed.

Amigable Clark Kant