Table of Contents

Search

  1. Preface
  2. RulePoint
  3. RulePoint Concepts
  4. Using RulePoint
  5. RulePoint Objects
  6. Working with Topics
  7. Working with Connections
  8. Working with Sources
  9. Working with Responders
  10. Working with Responses
  11. Working with Watchlists
  12. Working with Analytics
  13. DRQL
  14. Working with Rules
  15. Working with Alerts
  16. Setting Access Controls
  17. Troubleshooting RulePoint Issues
  18. Connecting to an Ultra Messaging Application
  19. Creating an Ultra Messaging JMS Source

User Guide

User Guide

date

date

The date analytic converts a date-time string into a format that RulePoint can use to compare with other date-time values. The default format is
MM/dd/yy hh:mm:ss a
.

Syntax

date(String)
The following table describes the required and optional arguments:
Argument
Required
Optional
Description
string
Required
A date value of string type.
The following table provides the datatype for the parameters you can pass:
Parameter Input Options
Datatype
Event property
text
Example
WHEN 1 news n with date(n.pub) as datevalue > date("01/01/13 1:00:00 PM") then response with body=”${datevalue)”
The following table describes the result for the event property value that you pass:
Event Property Value
Description
Result
n.pub =" 02/02/13 1:00:00 AM"
Comparing the value of n.pub that is of string type.
>01/01/13 1:00:00 PM

0 COMMENTS

We’d like to hear from you!