Skip to content

Expression Proposal: Between - Checks if given date-time is within given starting date-time and ending date-time #72

Description

@lakhbawa

Type of Expression: Date Function
Return Type: Boolean
Case Sensitive: NA

Expression Example:
@between(NOW(), '2024-01-20 20:22:5', '2025-01-20 20:22:5') -> FALSE # When We are in 2023
@between(NOW(), '2022-01-20 20:22:5', '2025-01-20 20:22:5') -> TRUE # When We are in 2023

Common Use Case:
This expression can be used to make the block exits more dynamic by choosing the exit based on the current datetime/given datetime

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions