Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data e Hora do Servisor
Message
De
05/12/2002 05:14:38
 
 
À
04/12/2002 20:59:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00729678
Message ID:
00729804
Vues:
26
This message has been marked as a message which has helped to the initial question of the thread.
>>>Olá Pessoal
>>>
>>>Alguem conhece alguma forma de obter a data e hora de um servidor Windows Server 2000 atraves do VFP 7.
>>
>>Pode criar um arquivo no servidor. O arquivo terá a data e hora do servidor (tentei com NT4).
>>
>>Eu uso fcreate() para criar o arquivo, sys(2015) (???) para gerar um nome de arquivo único.
>>
>>Hilmar.

>
>Pode também usar STRTOFILE("",SYS(2015)+".txt") e ADIR() pra lir a data.

Se você estiver usando Oracle pode obter a data do banco
SELECT sysdate as dDataHora from dual
ou SQL Server
select getdate() as dDataHora
Atenciosamente,
Welington Lourenço Melo de Paula BH / MG
welingtonl@yahoo.com.br
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform