Domino Code Fragment

Code Name*
Format date dd th mmm , yyyy
Date*
09/18/2001
Source (or email address if you prefer)*
udarap@www.com
IP address:.203.143.11.162
Description*
This code segment will format the current date in to "DD th MMMM , YYYY"
format. EX "31 st may , 2001"
Type*
Formula
Categories*
Date/Time Handling
Implementation:
None (plug and play)
Required Client:
(none)
Server:
(none)
Limitations:
no limitation as far as you are going to put this thing on
Comments:
I am jest a lotus notes beginner....
There may be efitiont solution for this.....
Pass me any comments udarap@www.com
Files/Graphics attachments (if applicable): Code:
@text(@Day(@now) )+ " " +@If (@Day(@now)=1|@Day(@now)=21|@Day(@now)=31;"st";@Day(@now)= 2|@Day(@now)= 22;"nd";@Day(@now)= 3|@Day(@now)= 23;"rd";"th") + " " + @Select(@Month(@now);"January";"February";"March";"April";"May";
"June";"July";"August";"September";"October";"November";"December") + " , " +@text(@Year(@now))