Skip to content

Instantly share code, notes, and snippets.

@isanuki
Last active December 15, 2015 23:59
Show Gist options
  • Save isanuki/5343988 to your computer and use it in GitHub Desktop.
Save isanuki/5343988 to your computer and use it in GitHub Desktop.
SOQL 日付関数サンプル
Account[] accounts = [SELECT Name
FROM Account
WHERE CALENDAR_YEAR(CreatedDate) = 2012];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment