2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 #include <afsconfig.h>
11 #include <afs/param.h>
23 printf("dtest: usage is 'dtest <time to interpret>'\n");
27 code = ktime_DateToLong(argv[1], &temp);
29 printf("date parse failed with code %d.\n", code);
32 printf("returned %d, which, run through ctime, yields %s", temp, ctime(&temp));