SysTime comparesin - dropMiliseconds

User user at dlang.org
Sun Aug 12 19:50:44 UTC 2018


I have to synchronize a directory. If remote file is newer I copy 
to local. If local file is newer I copy it to remote server. For 
some reason remote timestamp does not contain milliseconds, so 
comparison (localFileTime < remoteFileTime, etc) fails. I need 
help to drop milliseconds from local file timestamp.






More information about the Digitalmars-d-learn mailing list