Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compare datetime() of each computer
Message
From
17/06/2021 01:36:21
 
 
To
16/06/2021 22:37:29
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
01681219
Message ID:
01681275
Views:
42
If you are using MySql, that is an even better situation. get the date always from the MySql server:

SELECT Curdate();
SELECT LocalTime();

So use that instead of DATE() function wherever that is an issue.


>>Just create a file on the server, and check its datetime with Adir().
>
>This is a good idea, but I also have a problem.
>The folder in the server must be R/W in order to be able to write.
>
>While I'm using VFP9 with MySQL database, no need to share the server's folder.
>The server's folder remains ReadOnly
>
>Jerry Yang
>
>
>
>
>>>in the LAN environment, is there a way to know the server's datetime()?
>>>
>>>My client has an issue, the operator changes the clock so he can enter old invoices.
>>>My client want to each time the cashiers login, the program will compare the datetime() with the server's datetime()
>>>
>>>Thanks for the help
>>>
>>>Regards,
>>>
>>>Jerry Yang
>>
>>Just create a file on the server, and check its datetime with Adir().
Christian Isberner
Software Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform