Flash ActionScript Date Suffix Code
I’ve become fairly familiar with the Flash Date object and thought I’d share some handy code showing how to append the proper suffix to a date or any other number. In case you don’t know what I’m talking about, a “number suffix” or “ordinal indicator” is the string of letters that follows a number to help make it more human readable. For example the number suffix “nd” makes “May 2nd, 2007” a little easier to read than “May 2, 2007”.
Here’s the code I wrote to handle all my numeric and date suffix needs: …
Read More