How to get Q1,Q2,Q3,Q4 for every three month

@shaik.muktharvalli1,

If you are trying to find from a date use ElseIf activity like this.

If inputDate.Month <= 3 Then
    quarter = "Q1"
ElseIf inputDate.Month <= 6 Then
    quarter = "Q2"
ElseIf inputDate.Month <= 9 Then
    quarter = "Q3"
Else
    quarter = "Q4"
End If