[comp.sys.mac.programmer] Getting AppleShare Server Time

bdw+@cs.cmu.edu (Blake Ward) (02/19/91)

I'd like to be able to query an appleshare server to get the current time
(and date) on the server so that the local clock can be synchronized with
that of the server.  Can anyone tell me how to do this?  I've tried creating
a temporary file on the server and then reading it's creation date, but it
seems that appleshare tries to do some sort of time/date conversion
(presumably to account for what it believes to be different time zones) if the
local time was different from that of the server when you first connect to
it.  In other words, if the local time differs by a few hours from the server
time, then doing a "get info" from the finder on a newly created file will
show a different creation time than looking at the file directly on the server.
Is there some way to disable this time/date adjustment?  Alternatively, is
there some way to just directly ask the server what its local time and date
are?  Please email any suggestions to bdw@cs.cmu.edu.  Thanks.