Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I ??
Message
From
30/11/2002 21:01:38
 
 
To
30/11/2002 14:21:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00728218
Message ID:
00728433
Views:
14
Se puede utilizar una función que me devuelva la fecha del servidor en el momento que lo deseo, y no depende de la estación que se está utilizando, ejemplo:

vlcd_now = get_date()

Function get_date
sqlexec(mycon,"select getdate() as now","cur_now")
vlcd_datetime = cur_now.now
if used("cur_now")
use in cur_now
endif
return vlcd_datetime
endfun

Espero que le sirva este ejemplo

Mario Jacas
Mario N. Jacas Medina
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform