1#include <stdio.h>
2#include <time.h>
34
#include "cache.h"
56
int main(int argc, char **argv)
7{
8int i;
910
for (i = 1; i < argc; i++) {
11char result[100];
12time_t t;
1314
memcpy(result, "bad", 4);
15parse_date(argv[i], result, sizeof(result));
16t = strtoul(result, NULL, 0);
17printf("%s -> %s -> %s\n", argv[i], result, ctime(&t));
18}
19return 0;
20}