;;比较文件时间新旧,新T,旧nil
;(setq a(vl-file-systime (strcat folder_path "A$Cae89669a.DWG")))
;'(2023 8 5 25 20 29 43 348)
;(setq d(vl-file-systime (strcat folder_path "A$C03c47315.DWG")))
;'(2023 8 5 25 21 49 42 398)
;(TimeNEWer d a) T
(defun TimeNEWer (Afile_time Bfile_time / a b i flag )
(setq i 0)
(setq loop_ctrl T)
(while (and loop_ctrl (<= i 7))
(setq a (nth i Afile_time))
(setq b (nth i Bfile_time))
(cond
((> a b) (setq loop_ctrl nil)(setq flag T))
((= a b) (setq loop_ctrl T)(setq i (1+ i)))
((< a b) (setq loop_ctrl nil)(setq flag nil))
)
)
flag
)