function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi Vinay,
use this code, it will help you.
Follow these steps -: 1. DateTime dt = System.now() 2. Date extactedDate= dt.date(); 3. System.debug(' date is-----'+extactedDate);
We can use DAY_ONLY function. Please find the below article for the same.
https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_date_functions.htm
If this solution helps, Please mark it as best answer.
Thanks,
Hi Vinay,
use this code, it will help you.
If you find your Solution then mark this as the best answer.
Thank you!
Regards,
Suraj Tripathi