Skip to main content
Answer

How to check whether dateis in present quarter

  • July 6, 2022
  • 1 reply
  • 70 views

need help

Best answer by amit61

If you wanted to do this in a GI for a Sales Order Date, you could use a formula like this:

 

=iif( Year(Today())=Year([SOOrder.OrderDate]) AND ( (CInt(Month(Today())-1))/3) = (CInt(Month([SOOrder.OrderDate]))/3), 'YES', 'NO')

1 reply

Forum|alt.badge.img+1
  • Jr Varsity II
  • Answer
  • July 13, 2022

If you wanted to do this in a GI for a Sales Order Date, you could use a formula like this:

 

=iif( Year(Today())=Year([SOOrder.OrderDate]) AND ( (CInt(Month(Today())-1))/3) = (CInt(Month([SOOrder.OrderDate]))/3), 'YES', 'NO')