Having tested it with two Windows 7 machines, I've found that the computer actually writing the file to its disk is the one which sets the timestamp. (Computer B in this scenario).
I tested both created and modified timestamps and both were set by the host machine.