international applications, and Y2K compliant.
Today, it returns the string: "Today is Friday, August 11th, 2000"
Keep in mind that for Notes client applications, the "@Today" function (like
@Now) uses the date from the user's system clock, while for Web client
applications, it uses the Domino server's clock.
x := @Today;
y := @Text(@Year(x));
d := @Text(@Day(x));
m := @Replace(@Text(@Month(x)); "1" : "2" : "3" : "4" : "5" : "6" : "7" : "8" :
"9" : "10" : "11" : "12"; "January" : "February" : "March" : "April" : "May" :
"June" : "July" : "August" : "September" : "October" : "November" : "December");
w := @Replace(@Text(@Weekday(x)); "1" : "2" : "3" : "4" : "5" : "6" : "7";
"Sunday" : "Monday" : "Tuesday" : "Wednesday" : "Thursday" : "Friday" :
"Saturday");
digit := @Right(d; 1);
suffix := @If(d = "11" : "12" : "13"; "th"; digit = "1"; "st"; digit = "2";
"nd"; digit = "3"; "rd"; "th");
"Today is " + w + ", " + m + " " + d + suffix + ", " + y
Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.
This was first published in November 2000