I did eventually track down the secret for getting modification date
(and size for files). It appears to be the "-I" option, which only
works for a single file.
For example on what I'm assuming is an OSX machine:
So this seems to do the trick, although I haven't found out how to
use curl to determine the operating system so I can verify that the
same format is returned for different OSs.