15
Views
3
Comments
Solved
Is the IsDate function available in Expressions?
Question

Hi,

I need to validate a date before assigning it in an expression. Is there a built-in IsDate() function or something similar in O11?

Thanks


2026-01-28 16-57-48
Mihai Melencu
Champion
Solution

Hi @Salvador Alvarez Moya ,

There isn’t a direct built-in method for date validation. Instead, you can use the built-in functions TextToDateTimeValidate() or TextToDateValidate(). Alternatively, you can implement a client-side JavaScript function to handle the validation. 

Helpful links:

2025-12-29 06-17-15
Deepak Raj M

Hi @Salvador Alvarez Moya
If you need to reuse validation often:

  1. Create an action IsValidDate.

  2. Input: DateText (Text)

  3. Logic:

    • Use TextToDateTime(DateText) inside a Try-Catch.

    • Return a Boolean True if conversion works, False otherwise.

2025-05-05 10-10-34
Vednarayan

Hi @Salvador Alvarez Moya ,
There isn’t a direct built-in method for date validation. Instead, you can use the built-in functions,

1. Using TextToDate() or TextToDateTime() in a Try-Catch (server action).

2. Or creating a custom function/logic to check if the conversion succeeds.
Thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.