SELECTED ANSWER
replied on December 3, 2014
If you use " {/dataset/_initiated_time}" on a form used in message start event, the value for the token will be blank when open the form for the process is not initiated until you submit the form. You can use similar JavaScript as following to get and set the current time:
$(document).ready(function(){
function setcurrenttime (){
var currentdate=new Date();
var datetimenow=(currentdate.getMonth()+1)+ "/"+currentdate.getDate()
+ "/" + currentdate.getFullYear() + " "
+ currentdate.getHours() + ":"
+ currentdate.getMinutes() + ":" + currentdate.getSeconds();
$('#Field15').val(datetimenow);
}
setcurrenttime();
})