[notjames@zap ~]$ date +%EG 2002 [notjames@zap ~]$ date +%Eg 02 [notjames@zap ~]$ perl -MPOSIX -e 'print strftime('%Eg',localtime()),"\n"' 43 [notjames@zap ~]$ perl -MPOSIX -e 'print strftime('%Eg',localtime()),"\n";' 58 [notjames@zap ~]$ perl -MPOSIX -e 'print strftime('%Eg',localtime()),"\n";' 0 [notjames@zap ~]$ perl -MPOSIX -e 'print strftime('%Eg',localtime()),"\n";' 2 [notjames@zap ~]$ perl -MPOSIX -e 'print strftime('%Eg',localtime()),"\n";' 4 [notjames@zap ~]$ perl -MPOSIX -e 'print strftime('%g',localtime()),"\n";' 9 [notjames@zap ~]$ perl -MPOSIX -e 'print strftime('%G',localtime()),"\n";' 16 [notjames@zap ~]$ #### $ date +%Eg %Eg $ date + %Eg $ date + %C $ date +%C Tue Aug 20 16:46:32 EDT 2002 $ date +%Og %Og $ perl -MPOSIX -e 'print strftime("%Og",localtime()),"\n";' %Og $ perl -MPOSIX -e 'print strftime("%Eg",localtime()),"\n";' %Eg $ perl -MPOSIX -e 'print strftime("%Eg",localtime()),"\n";' %Eg