# pull server timestamp?

**URL:** <https://forum.servoy.com/t/pull-server-timestamp/5651>\
**Category:** Classic Servoy\
**Created:** [March 28, 2006, 11:41pm UTC](https://forum.servoy.com/t/pull-server-timestamp/5651 "2006-03-28T23:41:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sammyzheng](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@sammyzheng](https://forum.servoy.com/u/sammyzheng)\
**Post date:** [March 28, 2006, 11:41pm UTC](https://forum.servoy.com/t/pull-server-timestamp/5651/1 "2006-03-28T23:41:26Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [March 29, 2006, 6:20am UTC](https://forum.servoy.com/t/pull-server-timestamp/5651/2 "2006-03-29T06:20:20Z")

</div>

Under the application node, there’s also something like getServerTimeStamp().

Not sure on the correct syntax, but it’s there for sure.

Paul

---

<div class="post-metadata">

**Author:** ![ROCLASI](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/roclasi/32/4371_2.png) [@ROCLASI](https://forum.servoy.com/u/ROCLASI)\
**Post date:** [March 29, 2006, 7:12am UTC](https://forum.servoy.com/t/pull-server-timestamp/5651/3 "2006-03-29T07:12:13Z")

</div>

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.
