Originally posted by: SystemAdmin
If you have perl installed, then create mkepoch in vi and copy in the following code:
#!/usr/bin/perl # Usage: mkepoch yyyy mm dd HH MM SS use Time::Local; ($yyyy, $mm, $dd, $HHMMSS)=@ARGV; ($HH, $MM, $SS)=split(
":",$HHMMSS); $tm=timelocal($SS, $MM, $HH, $dd, $mm - 1, $yyyy); print
"$tm\n";
Make executable, and test.
#AIX-Forum