hey everyone,
An easy question hopefully. Timestamping is critical in our solution. Is there a way to always pull just the SERVER time and not the local times time. I’ve been using application.getTimestamp() and that seems to pull the local client time which is easily changeable.
Thanks for your help
Under the application node, there’s also something like getServerTimeStamp().
Not sure on the correct syntax, but it’s there for sure.
Paul
Like Paul said there is indeed a method in the application node named getServerTimeStamp.
But when you want to timestamp your newly created records why not use an auto-enter value on the table itself.
You can easily do this in Servoy using the Define Dataproviders window.
Just select the column you want to use and press the properties button.
When the column is a DATETIME field you get the option to use Creation Server Date Time as value.
Same goes for modification date times.
Hope this helps.