You need to sign in to do that
Don't have an account?
Firas Taamallah 18
How to compare Date with string in Apex?
Hello ,
My requirement is to verify if Date.now is in Date (String or no ?
Example :
Any help would be appreciated
My requirement is to verify if Date.now is in Date (String or no ?
Example :
- String : 7Am-7PM UTC+1 , i want to verify if Date.now is in this period or no field Business Hour
@InvocableMethod public static List<boolean> checkBusinessHours(List<Id> ButtonIds){ List<Entity> ents = [Select BusinessHour from Tntity where Id in ButtonIds]; // i should return list of boolean because InvocableMethod methods do not support return type of Boolean return new List<boolean>{false}; }
Any help would be appreciated