You need to sign in to do that
Don't have an account?
Sagar Pawar
How i call System.now() method of salesforce from java class
Hi,
My requirement is i want to get current date and time of salesforce server from java class.
regards,
Sagar Pawar
However, you may call the Date.today() method to get the current date in your timezone.
Regards,
Satish Kumar
Please mark my answer as a solution if it was helpful so it is available to others as a proper solution.
If you felt I went above and beyond, please give me Kudos by clicking on the star icon.
There is an API calle getServerTimeStamp().
Check the following URL:
http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_calls_getservertimestamp.htm