View Problem

Display information about a date

Display the day of month, day of year, month name and day name of the day 8 days from now.
DiskEdit
fsharp
Using F# interactive

> let Then = DateTime.Now.AddDays(8.0)
- let dayNumber = Then.DayOfYear.ToString()
- let solution = Then.ToString("dd " + dayNumber + " MMMM dddd");;

val Then : DateTime = 08/08/2010 08:58:05
val dayNumber : string = "220"
val solution : string = "08 220 August Sunday"

>

Submit a new solution for fsharp
There are 15 other solutions in additional languages (clojure, cpp, csharp, fantom ...)