Time::Piece is available in perl 5 after version 10
use Time::Piece; my $date = localtime->strftime('%m/%d/%Y'); print $date;
Output 07/26/2016
Topic Id: 5923
Example Ids: 20791
This site is not affiliated with any of the contributors.
Content on the page is taken from Stack Overflow Documentation
This site is NOT affiliated with Stack Overflow or any of the contributors. | Privacy Policy | Terms of Service