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
my $current_time = DateTime->now(); my_current_time = DateTime.now my $mdy = $current_time->mdy("/"); my_mdy = my_current_time.strftime("%m/%d/%Y")