DATETIMEVALUE ( TEXT ( LastModifiedDate + 2 /24 ) )Will show fine in the normal user interface but shows: "#Error!" on a report.
DATETIMEVALUE( TEXT( YEAR( DATEVALUE( *FIELD* ))) + '-' + TEXT( MONTH( DATEVALUE( *FIELD* ))) + '-' + TEXT( DAY( DATEVALUE( *FIELD* ))) + ' 3:30: 00')
TEXT( LastModifiedDate )The result will look like:
2016-08-11 17:18:00ZConverting this back, a report will not know how to interpret the Z at the end, a report is expecting:
2016-08-11 17:18:00
DATETIMEVALUE ( LEFT ( TEXT ( LastModifiedDate + 2 /24 ), 19 ) )
Incorrect: ....+ Text(DAY(DATEVALUE(*FIELD*)))+' 03:30: 00') Correct: ....+ Text(DAY(DATEVALUE(*FIELD*)))+' 03:30:00')Also make sure to use 24 hour times, am/pm will not be understood on reports either.
000386123

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.