Hi community,
I have an expression that displays the orderDate and percentage data as on following screenshot. However, I want to hide the time part of both the OrderDate and DueDate, only showing the date. How can I achieve this?
= 'Zahlbar bis ' +
Format(DateAdd(CDate([SOOrder.OrderDate]), 'd', IIf([Terms.DayDisc] Is Null, 0, [Terms.DayDisc])), 'dd.MM.yyyy') +
' (mit ' +
Format(CDbl(IIf([Terms.DiscPercent] Is Null, 0, [Terms.DiscPercent])), '0.00') +
' % Skonto = ' +
Format(CDbl(IIf($TotWithTax Is Null, 0,
$TotWithTax * IIf([Terms.DiscPercent] Is Null, 0, [Terms.DiscPercent]) / 100)), '#0.00') +
' EUR zu zahlen: ' +
Format(CDbl(IIf($TotWithTax Is Null, 0,
$TotWithTax - ($TotWithTax * IIf([Terms.DiscPercent] Is Null, 0, [Terms.DiscPercent]) / 100))), '#0.00') +
' EUR) bis zum ' +
Format(
DateAdd(
CDate([SOOrder.OrderDate]),
'd',
IIf(
[Terms.DayDue00] Is Null,
IIf([Terms.DayDue01] Is Null, 0, [Terms.DayDue01]),
[Terms.DayDue00]
)
),
'dd.MM.yyyy'
) + ' ohne Abzug.'



