AnsweredAssumed Answered

Trim the time from this expression result

Question asked by hedvalk_van on May 18, 2018
Latest reply on May 23, 2018 by kenbuja

var startDate = Date($feature.CompDtTm);
var twomonthslater = DateAdd(startDate, 2, 'months');
return twomonthslater;

 

Returns

ResultValue
Result31 Mar 2018 11:36:00 pm
Type

Date

 

I would like to remove the time from this label. The source data for the labeling expression has date and time in the field.

This is to be consumed within my organization in a map online.

Thanx!

Outcomes