A question from Robert W. Reed: I've learned that the default password is actually the date of the subscription. However, it is in seconds-since-Jan 01 1970 (e.g., 917008679). Is there a simple UNIX utility to convert that integer into standard date formats (e.g., Year Month Day Hour Minutes Seconds) ?? I've looked at using "date" but it seems to only handle conversion from the system clock, not a supplied value. Robert W. Reed #### A solution From: David Rosenthal NOTES from author: We wrote a quick c program to do this, to avoid using perl each time. If you compile this as ptime, then you get the human readable info as: UNIX> ptime 859956093 Tue Apr 1 23:41:33 1997 /* * ptime.c * * mhpower@shamash.org, 21 October 1997 * * Prints a human-readable representation of a Unix time * value specified on the command line. If no value is * specified, the current time is used. */ #include #include #include main(argc, argv) int argc; char *argv[]; { time_t t; t = (argc == 2) ? atoi(argv[1]) : time(0); if (argc > 2) puts("usage: ptime [integer_time_value]"); else fputs(ctime(&t), stdout); }