用FileInfo的CreationTime或CreationTimeUtc属性获取文件的创建时间

解决方案 »

  1.   

    用外部函数
    FUNCTION Long GetFileAttributes ( String lpFileName) LIBRARY "kernel32" ALIAS FOR "GetFileAttributesA"
    FUNCTION Long SetFileAttributes ( String lpFileName, Long dwFileAttributes) LIBRARY "kernel32" ALIAS FOR "SetFileAttributesA"
      

  2.   

    国际标准的jpg有个高级摘要里边有相机型号,相机像素等相机参数,还有照片的拍摄时间不是创建时间
    拍摄时间复制、上传到网站上后也不会变的,但是修改时间,创建时间会发生变化的