If you want to format a time field from you database, say for e.g.: createdAt, the following helper can be used.
UI.registerHelper('formatTime', function(context, options) {
if(context)
return moment(context).format('MM/DD/YYYY');
});
An alternate way would be to write a helper