# Return name of day through a :Date

**URL:** <https://forum.kirupa.com/t/return-name-of-day-through-a-date/254582>\
**Category:** flash\
**Created:** [March 13, 2008, 11:38am UTC](https://forum.kirupa.com/t/return-name-of-day-through-a-date/254582 "2008-03-13T11:38:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![saion](https://avatars.discourse-cdn.com/v4/letter/s/8c91f0/32.png) [@saion](https://forum.kirupa.com/u/saion)\
**Post date:** [March 13, 2008, 11:38am UTC](https://forum.kirupa.com/t/return-name-of-day-through-a-date/254582/1 "2008-03-13T11:38:05Z")

</div>

Hey everyone!

Does anyone know of any good Date class for as3? A class that for example has a function that could return the name of the weekday out of a date (XXXX-XX-XX).  
As for example, i send a date ( : Date) into the function and it returns the String “Monday”.Do you know any class out there that could do that or do you have any example of how i could do this?  
And it has to know if its a leap year etc. Please, any help is very appreciated!

// M
