#!/usr/bin/ruby

#
## https://rosettacode.org/wiki/Date_format
#

var time = Time.local;
say time.ctime;
say time.strftime("%Y-%m-%d");
say time.strftime("%A, %B %d, %Y");