A quick blog entry and a suprisingly easy and small piece of code
In the code below I have function which gets triggered when a user ticks the confirm Closed checkbox it then sets the current date and time.
if the user untick the checkbox I wipe the date and time value.
The date functionality in javascript holds the current time as well