Jump to content
  • 0

start date and end date in one report line using a calculated field


1 answer to this question

Recommended Posts

  • 0

This cumbersome syntax is a Valid Formula:

DatePart(mm,[@field:EA_StartDate]) + '-' + DatePart(dd,[@field:EA_StartDate]) + '-' + DatePart(yy,[@field:EA_StartDate]) +

WHEN LEN([@field:EA_EndDate]) > 1 THEN
 ' - ' + DatePart(mm,[@field:EA_EndDate]) + '-' + DatePart(dd,[@field:EA_EndDate]) + '-' + DatePart(yy,[@field:EA_EndDate]) 

NB Substituting '-' with '/' (for a more standard date display) results in an Invalid Formula

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...