is between data start data end - formula

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ShulzR
    Member
    • Aug 2022
    • 32

    is between data start data end - formula

    Hello,
    is there any formula that returns true/false if datetime\today() is between data_start and data_end?​
    Thanks for any help.

    Robert
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1602

    #2
    Yes, here: https://docs.espocrm.com/administrat...mula/#datetime
    with ifThen

    Comment

    • rabii
      Active Community Member
      • Jun 2016
      • 1250

      #3
      you can try something like below:

      Code:
      ifThen(datetime\today() >= dateStart && datetime\today() <= dateEnd,
      
      // your code here
      )​
      Rabii
      Web Dev

      Comment

      • ShulzR
        Member
        • Aug 2022
        • 32

        #4
        Thank you very much! I missed it in the documentation​.

        Comment

        Working...