>anyone who knows the equivalent API function of DOS NET TIME command
I suspect what this command does is show you the time on the server.
You can create a file on a shared folder on the server and see what date/time it was created.
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)