Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change systems date and time
Message
 
To
15/10/1996 20:20:21
Claudio Abad
Compañía Financiera Argentina
Buenos Aires, Argentina
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00010147
Message ID:
00010160
Views:
40
>i need synchronize a program with mssqlserver.
>i get date from server by 'select getdate()'
>how can i change system date and time without using 'run date &xxx xx/xx/xx' command?
>Please help me
>thanks very much

In VFP Help under DATE() is this:

"No Visual FoxPro commands or functions can directly change the system date."

I do not have the API Help installed on this PC. By reccomendation is to look at the API Help file & find the right function & use it.

HTH
Tom
Tom
--------------------------------
Tom O'Hare
407-299-4268 -- tom@redtile.com -- http://www.redtile.com/
Independent Programmer Using Visual FoxPro, Visual Basic & more...
Operations Manager -- Virtual FoxPro User Group (VFUG)
http://www.vfug.org/ -- tom@vfug.org
President -- Central Florida FoxPro User Group (CFFUG)
http://www.redtile.com/foxpro/
Universal Thread Most Valued Professional (MVP)
http://www.transformation.com/foxpro/
Previous
Reply
Map
View

Click here to load this message in the networking platform