I try to get a custom date field into the xporter instead of the current date. Do I make de right discission if I try it like this: ${dateformat(“MMM dd, yyyy”):${Kwalificatie Datum}}
Found an answer %{var months = new Array('Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'); var dateParts = '${Kwalificatie Datum}'.split('-'); var month = dateParts[1]; var year = dateParts[0] ; var day = dateParts[2].split('T')[0]; months[parseInt(month) - 1] + ' ' + day + ', ' + year;}
Or should I use a different date format for it. If I only put in the custom field I get the full date including time, which I don't want
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.