Create a Date object representing the current date and time. Print it out.
If you can also do this without creating a Date object you can show that too.
fantom echo(DateTime.now)
class SolutionXX
{
Void main()
{
echo(DateTime.now)
}
}
Submit a new solution for
fantom
There are 18 other solutions in
additional languages (
clojure,
cpp,
csharp,
erlang ...)