1 person found this helpful
this.getField("Today").value = util.printd("mm/dd/yyyy HH:MM", new Date());
Click OK and save the file. From that moment on that field will contain the current time and date each time you open the file.
You can adjust the format of the date pattern string in the code to your liking, of course.
Thank you for your help kindly,
1) For time estimation, is it possible to designate mins, hours and the totals. so when i type in the time field. it will show the total time in hh/mm, when the current time commence.
2) For % can we make this a % field, so if we type in "90" it will show "90%"
I don't understand how these questions relate to your original question... Please clarify what you mean.