In Perl you can do:
my $current_time = DateTime->now(); my $mdy = $current_time->mdy(\"/\");
What\'s the easiest way to do this in Ru
You can simply use %D with strftime method
%D
> Time.now.strftime("%D") => "11/24/14" # mm/dd/yy