#include <stdlib.h>
#include <stdio.h>
#include <time.h>

int
main (int argc, char **argv)
{
	time_t t;
	struct tm tm;
	char buf[100];

	t = time (NULL);
	tm = *localtime (&t);

	if (strftime (buf, sizeof (buf), "%k.%M", &tm) == 0)
		abort ();

	printf ("time: %s\n", buf);

	return 0;
}
