Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Server date
Message
De
01/01/2006 16:08:18
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
01081949
Message ID:
01082342
Vues:
10
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform