2012-07-06, 10:28
Trying to create a <label> in a skin that will return the days of the week in an abbreviated form. ie: Mon, Tue, Wed, etc.
I was thinking using System.Date(ddd) would work.
But how would I go about adding to it so the days of the week populate?
I need it to go like this: if today is Fri and the above returns that, how would I code it so that in another <label> I can essentially add 1 so it returns Sat? Add 2 so it returns Sun, etc.
And, no, static labels will not work.
I was thinking using System.Date(ddd) would work.
But how would I go about adding to it so the days of the week populate?
I need it to go like this: if today is Fri and the above returns that, how would I code it so that in another <label> I can essentially add 1 so it returns Sat? Add 2 so it returns Sun, etc.
And, no, static labels will not work.