Skip to main content
Question

Looking for formula checkbox to check if a record was created in the first 5 days of the current month

  • Jul 7, 2023 6:28 PM UTC
  • 0 replies
  • 84 views

Forum|alt.badge.img+5

I need to figure out a checkbox formula to check if a record was created within the first 5 days of the current month using [Date Created]. Any suggestions?



------------------------------
Dawn Rene
------------------------------
This topic has been closed for replies.

  • Registered
  • Jul 7, 2023 6:39 PM UTC

This should do the trick:

var date created = ToDate([Date Created]);
var date firstday = Date(Year(Today()),Month(Today()), 1 );
var date fifthday = Date(Year(Today()),Month(Today()), 5 );
$created >= $firstday and $created <= $fifthday


------------------------------
gary
------------------------------