You need to sign in to do that
Don't have an account?
![sd2008 sd2008](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
"Unexpected Token : "?
trigger AcctUpdateTrigger on Account (before insert, after update) {
for(Account a: Trigger.New){
Datetime mytime = datetime.now();
Integer h = mytime.hour();
if (h =< 18)
{
if (a.RecordTypeID=='012400000000ztBAAQ')
{
function_Outcall.SaveAcct(a.AccountNumber);
}
}
}
}
I got a "Unexpected Token : " error message.
what is wrong with it?
![](/forums/img/s.gif)
![](/forums/img/s.gif)
![Aish Aish](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
instead of =< , do <=