Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lakhbawa opened this issue Jan 23, 2023 · 0 comments

Comments

@lakhbawa
Copy link
Contributor

lakhbawa commented Jan 23, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant