Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Server date
Message
From
01/01/2006 16:08:18
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
01081949
Message ID:
01082342
Views:
9
>Hi James,
>Just create a temporary file on a shared folder on the server, and ask for the time of its creation with the appropriate file functions. The file should get the date/time of the server, not of the local machine.
>
>ADIR(your_array,'path_to_server_and_shared_folder\create_file_name')
>*** your_array[1,1] = File name (C)
>*** your_array[1,2] = File size (N)
>*** your_array[1,3] = Dates last modified (D) ---> test this
>*** your_array[1,4] = Times last modified (C) ---> test this
>*** your_array[1,5] = File attributes (C)
Or, without aDir(),

dT=fdate("\\fullpath\to\file on\server",1)

With the second parameter, it returns a datetime; without it, just date.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform