您在此处:
end_of_day
返回 Salesforce Spiff 中特定日期或时间值的最后一秒。返回格式是 YYYY-MM-DDT:hour:minute:second:millsecond,加上或减去协调世界时 (UTC) 以外的小时和分钟。
返回 Salesforce Spiff 中特定日期或时间值的最后一秒。返回格式是 YYYY-MM-DDT:hour:minute:second:millsecond,加上或减去协调世界时 (UTC) 以外的小时和分钟。
| 适用于:Salesforce Classic(并非在所有组织中可用)和 Lightning Experience |
| 适用于:Enterprise、Unlimited 和 Developer Edition |
| 另行付费后适用于:启用了 Web 服务 API 的 Professional Edition |
end_of_day(date_or_time)| 参数 | 必需? | 描述 |
|---|---|---|
| date_or_time | 必需 | 要评估的日期或日期和时间值。此参数支持任何日期函数。 |
使用 EndOfPeriod 助手函数,返回表示报表期间结束的一天结束。
=beginning_of_day(EndOfPeriod)从文本格式的日期查找一天的结束时间,您可以使用 date() 函数将其转换为正确的日期数据类型。
=end_of_day(date("2024-01-31"))创建数据筛选器,返回 1 月 1 日至 31 日之间创建的所有交易。将此函数与beginning_of_day()组合。
CreatedAt >= beginning_of_day(date("2024-01-01")) AND CreatedAt <= end_of_day(date("2024-01-31"))使用动态语句期间日期而不是硬编码文本值更新之前的数据筛选器。
CreatedAt >= beginning_of_day(date(statement_period.start_date)) AND CreatedAt <= end_of_day(date(statement_period.end_date))
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.