How can I sort timestamps in perl ?

Posted by ablimit on Stack Overflow See other posts from Stack Overflow or by ablimit
Published on 2010-03-21T15:05:49Z Indexed on 2010/03/21 15:11 UTC
Read the original article Hit count: 383

Filed under:
|
|

I have several thousand objects with string property in the format of "yyyy-MM-ddTHH:mm:ssZ". I want to sort these objects ordered by time.

Is there any useful packages or scripts for this ?

(currently I'm just comparing individual numeric values and it seems it's not very efficient and neat)

© Stack Overflow or respective owner

Related posts about perl

Related posts about timestamp