penguinspeaks
Technical User
Hello gang, I hope all is well in your world.
I want to be able to work with the end digit in the days of the year, and have an if/then to make it be a nd, st, rd, ect.
So it would read "This is the 222nd day of the year."
I have the code to get the day of the year using
I just need to add the suffix variable somehow.
Any ideas??
I want to be able to work with the end digit in the days of the year, and have an if/then to make it be a nd, st, rd, ect.
So it would read "This is the 222nd day of the year."
I have the code to get the day of the year using
Code:
<%=DateDiff("d",DateSerial(Year(Now),1,1),Date)%>
Any ideas??