Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Server Date & Time
Message
De
10/06/2003 09:51:55
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
10/06/2003 09:43:47
Issam Mansour
Jordan Business Machines
Amman, Jordanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00798341
Message ID:
00798347
Vues:
20
>Hi,
>
>is there any declare command to get the server date and time.
>
>Best Regards

I used one method which is often suggested here on the UT, and it works for me:

  • Create a file on the server.
  • Get the file's date and time. This will return the date/time of the server, not of the workstation.
  • Delete the temporary file.

    You can use sys(2015) to create a unique file-name (to avoid conflicts with other users).

    One way to create the file is with fcreate().

    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)
  • Précédent
    Répondre
    Fil
    Voir

    Click here to load this message in the networking platform