[if.not_date_obj Variable_Name]
//** Do something **//
[/if.date_obj]
Input Parameters
:
variable which needs to be check.
Return Value
:
It does not return anything
Example
:
Code
:
XHTML
1
2
3
4
[template.setvar_num="100"/]
[if.date_objtemplate.var_num]
[template.setstr="var_num is date_obj"/]
[/if.date_obj]
Output
:
in var_num is date object then set str as “var_num is date object”
Description
:
In the example, var_num variable is declared and assigned with value. As the variable is not date object, then if not_date_obj condition will get satisfied and the logic inside will get executed.