Date specific to calculate late fee


i trying make form calculate , automatic late fee. sure need use if format, can't find format use check late fee date.

the formula needs this.
if todays date <= april 1, 2006
latefee=0
else
late fee $30.00

i know isn't correct formula, date format can not find. can help?
thanks

here's script (in javascript) compares today's date "april 1, 2006" , shows message box says "on time!" if today on or earlier april 1st , "overdue!" if it's past april 1st:

 
var otoday = new date();

if (otoday > new date("4/1/2006"))
  app.alert("overdue!");
else
  app.alert("on time!");


stefan c.
adobe systems


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments