Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data e Hora do Servisor
Message
From
05/12/2002 05:14:38
 
 
To
04/12/2002 20:59:55
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00729678
Message ID:
00729804
Views:
24
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
Previous
Reply
Map
View

Click here to load this message in the networking platform