#include <ctype.h>
#include <stdio.h>
#include <time.h>
#include <stat.h>

time_t	zeit;
struct	tm	*szeit;
char	buffer[120];

main ()
{   register	int	i = 0;

    time (&zeit);
    puts(ctime (&zeit));
    szeit = localtime (&zeit);
    strftime(buffer, 110, "| %xx | %cc |\n %jj %bb %aa %pp %ww %yy %mm %dd", szeit);
    puts(buffer);
    strftime(buffer, 110, "| %XX | %AA %BB %II %WW %YY %MM %HH %SS %UU \n", szeit);
    puts(buffer);
}
