Forum Replies Created

  • Thanks Anjali...for the reference link.

    but i need to get only year value of input date type field so that i use it for comparison purpose and got that solution..

    from input field i taken value using aura:id and did following process for deducting it from current year.

    var date=component.find('DOB').get('v.value');
    var splite= date.split('-');
    var num=parseInt(splite[0]);
    var today = new Date();
    var currentYear = today.getFullYear(); //system generated todays date(year)...
    var ageDifference=currentYear -num;

  • Akash Karhale

    Member
    January 1, 2021 at 9:52 AM in reply to: Error in API callout...

    thanks anjali for your valuable time....

    i got error,it was in request body..

Popular Salesforce Blogs

Popular Salesforce Videos

Salesforce Admin Certification 2020 Questions Explained with References - Part II

Video in

How to prepare and pass Salesforce Admin Certification with Practice Exam Questions 2020 practice questions and answers for the Salesforce Administration Salesforce Certified Admin Exam Questions Salesforce Administrator Certification Exam…