}</pre>
NOTE: When using @sscalculation, you <u>must</u> wrap the syntax in double quotes
===Comparing two date custom fields which also store time===
<pre>if(ConvertDateTimeStr(form.getStr("cf_Cycle Start Date"),"@dateformat@", "yyyy-mm-dd") >= ConvertDateTimeStr(form.getStr("cf_Cycle Deadline"),"@dateformat@", "yyyy-mm-dd"))
{
result.isPassed=false;
result.addMsg('cf_@Cycle Deadline.id@','The submission deadline date cannot be before the open date');
}</pre>
===Ensuring an entered date is at least 3 business days away===