soql last week
Select * from case where WHERE CreatedDate = LAST_N_DAYS:30
soql last week
Select * from case where WHERE CreatedDate = LAST_N_DAYS:30
string literal soql date format
//Date only:
YYYY-MM-DD 1999-01-01
//Date, time, and time zone offset: YYYY-MM-DDThh:mm:ss+hh:mm
YYYY-MM-DDThh:mm:ss-hh:mm
YYYY-MM-DDThh:mm:ssZ
1999-01-01T23:01:01+01:00
1999-01-01T23:01:01-08:00
1999-01-01T23:01:01Z
soql last year
delete [SELECT Id FROM Opportunity WHERE CreatedDate = LAST_YEAR];
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us