Domino Code Fragment

Code Name*
Derive textual date from date & time
Date*
04/29/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.3.14.80.45
Description*
This database has a DATE field as well as StartTime and EndTime fields. This displays the start time as something like: Tue, Jan 29, 8:00:00 AM, or replaces the time
with a couple of dashes if it wasn't entered yet.
Type*
Formula
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Files/Graphics attachments (if applicable): Code:
REM "Required Field(s): Date ";
DOW := @Word("Sun Mon Tue Wed Thu Fri Sat"; " "; @Weekday(Date));
Month := @Word("Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec"; " "; @Month(Date));
Start := @If(@IsTime(StartTime); @Text(StartTime); "--");
DOW + ", " + Month + " " + @Text(@Day(Date)) + ", " + Start