Get a name of day knowing the number of day , month and year

how to get a name of day knowing the number of day , month and year.

Example:

i have this movieclip for February 2009

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 …

i want obtain for each number any name of a day.
[LEFT]I hope that I explained
I hope your help.
[/LEFT]