How to get server datetime without postback using JSOM or services

SharePoint Asked by user7268 on January 25, 2021

My application page may be long time without reloading, and user changed system date and time. And I need to know datetime from server, not from client.

One Answer

You could just create a custom webservice that returns the server time and call this through JS.

Answered by Steve Lineberry on January 25, 2021

Add your own answers!

Related Questions

SSL for sharepoint wildcard with SANS

1  Asked on October 25, 2021 by ruby-trustit


MOSS – Event ID 5785 repeats every 5 min in the Event Viewer

1  Asked on October 25, 2021 by savantprodigy


Field not found exception

2  Asked on October 25, 2021 by denis-bednov


Mapping drive connection problem

1  Asked on October 25, 2021 by ahmed-aborady


How to create an email reminder in Sharepoint 2013

2  Asked on October 25, 2021 by cristian-badea


Microsoft Graph/Sharepoint API search

1  Asked on October 25, 2021 by elb98rm


Ask a Question

Get help from others!

© 2023 All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP