#!/usr/bin/perl use strict; use warnings; my @dates = ( '01-30 22:10', '01-12 05:56', '01-24 01:42', '01-12 05:59', '01-31 01:33', '01-02 01:33' ); @dates = sort @dates; for (@dates) { print $_, "\n"; }
In reply to Re: Sort by Date and Time
by ikegami
in thread Sort by Date and Time
by zod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |