Help for this page

Select Code to Download


  1. or download this
    use POSIX qw/strftime/;
    print strftime('%Y-%m-%d %H:%M:%S',gmtime);
    
  2. or download this
    print strftime('%Y-%m-%d %H:%M:%S',localtime);