function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Abhish ChalkeAbhish Chalke 

how do i checked if date is contains '30-12' in apex code and the data type is date

Lokesh KumarLokesh Kumar
You can check for the date and month from the date value.
Integer day = date_field__c.day();
Integer month = date_field__c.month();