Re: SysTime comparesin - dropMiliseconds

2018-08-12 Thread Jonathan M Davis via Digitalmars-d-learn
On Sunday, August 12, 2018 1:50:44 PM MDT User via Digitalmars-d-learn wrote: > 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

Re: SysTime comparesin - dropMiliseconds

2018-08-12 Thread User via Digitalmars-d-learn
On Sunday, 12 August 2018 at 19:50:44 UTC, User wrote: 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,

SysTime comparesin - dropMiliseconds

2018-08-12 Thread User via Digitalmars-d-learn
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