Help for this page

Select Code to Download


  1. or download this
    P:\test>perl -le"print scalar localtime; $ENV{TZ}='PST8PDT'; print sca
    +lar localtime; system 'perl -le \"print scalar localtime\"' "
    Thu Jan 19 19:52:12 2006
    Thu Jan 19 19:52:12 2006
    Thu Jan 19 11:52:12 2006
    
  2. or download this
    #include <windows.h> 
    #include <stdio.h> 
    ...
        printf( "%.19s %s\n", asctime( newtime ), am_pm );    
        return 0; 
    }
    
  3. or download this
    P:\test>ltime TZ=PST8PDT
    Thu Jan 19 12:20:55 AM
    
  4. or download this
    #! perl -slw
    use strict;
    ...
    P:\test>524251
    
    P:\test>Thu Jan 19 12:32:30 2006
    
  5. or download this
    #! perl -slw
    use strict;
    ...
    
    Pacific: Thu Jan 19 12:41:24 2006