Display the date and day-of-the-week in a view column

Returns a text string with the date specified and day of the week. ( 02/26/2002 03:45:00PM ~ Tuesday )
Lotus Formula • Lotus Notes Form • Lotus Notes View


date := datefieldinyourdoc ;
M := @Text(@Weekday(Date));
N := "1" : "2" : "3" : "4" : "5" : "6" : "7";
Days := "Sunday" : "Monday" : "Tuesday" : "Wednesday" : "Thursday" : "Friday" : "Saturday";
DayName := @Replace(M; N; Days);

@Text(date) + " ~ " + DayName

Posted by fbrefere001 on Tuesday February 26, 2002