I have the date: "10/3/2010" (10th March 2010). I want to pass it to a function which would return the day of week. How can I do this?
In this example, the function should return String "Tue".
Additionally, if just the day ordinal is desired, how can that be retrieved?