Need to check whether the year is more than 2020

Check the input year is more than 2020

I

Hi

What is the type of this year variable/argument (string/integer/datetime)?

String datatype

Hello @sruthesanju

Cint(yearvariable)>2020

Hope you have a variable “yearVariable” with string value of the year.
Thanks

Hi @sruthesanju use this condition

if(Cint(year)>2020)

1 Like

Is the input just the year, or an entire date? If date, show us an example.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.