Is it the timestamp from the server or the client.
I can't find it in the manual, or I'm bad at finding it.
And, if it is from the client, how to get it from the server?
If slConnect is used and successful (returns 0) all data returned is from the machine running SQLiteningServer.exe.
If slConnect fails the program would normally exit function.
This demonstrates returning to local mode after slConnect failed (remote routines are still loaded.)
Not doing this will reward the user with transmission errors.
FUNCTION PBMAIN () AS LONG
LOCAL sIpAddress,sarray() AS STRING,PortNumber AS LONG
IF slGetErrorNumber THEN 'connect error
? "Switching to local mode ",%MB_SYSTEMMODAL,slGetError
? "Running in remote mode"
slselary "select rowid,manuf from parts limit 3",sarray(),"Q9"
Ok, thanks for the answer.
Quote from: Fim on October 16, 2019, 01:02:33 pm... how to get it from the server?
I posted some code years ago for creating and using a server side time stamp. It uses Windows FILETIME data, but it's easily converted to whatever format you need: