geeool Posted August 30, 2016 Share Posted August 30, 2016 Does anyone have a snippet of code for adding a postscript to a date? What I mean is instead of May 1, I want it to display as May 1st. May 2 would be May 2nd, May 3 would be May 3rd, etc. I am using a calendar to select the date and the format is MMDDYYYY. I am currently using the following for formatting: return FormatDate(Field("Event Date"), "ld, lm d"); Any help is greatly appreciated. Thanks, Joel Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted August 30, 2016 Share Posted August 30, 2016 This is a frequently-asked question: http://forums.pti.com/showthread.php?t=4529 Quote Link to comment Share on other sites More sharing options...
geeool Posted August 30, 2016 Author Share Posted August 30, 2016 I got it to work - Thanks Dan. BTW - I did try to search for this question before posting, but I didn't know what ordinals were called, so I wasn't successful. Thanks for the info. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.