Changes

Obtain Server Date and Time

277 bytes added, 23:26, 7 January 2013
no edit summary
 
There are several methods to obtain the server date and time.
 
==Variable Method==
* Note: The '''getservertime''' JavaScript function will work in the UTA Level 1, 2 and 3. In other places such as [[Web Page View]]s or custom fields on Contacts or Companies you will need to include the '''/Ajax/uta/in_uta.js''' JS file (See [[Adding JavaScript JS files to Web Page View Pages]])
* It is possible to get the date and time from the client machine using JavaScript's built-in '''Date()''' function, but using the server date and time is usually preferred since it is consistent and controlled.
==See Also==
0
edits