A couple of weeks ago I asked about problems and documentation for the Posix strftime() function. I found a man page on my Solaris system at work and tried the various formats with MacPerl. Here's the results I got: The current time is August 7, 1998 23:45:57 %a - locale's abbreviated weekday name: Fri %A - locale's full weedday name: Friday %b - locale's abbreviated month name: Aug %B - locale's full month name: August %c - locale's appropriate date and time representation: Aug 7 23:45:57 1998 %C - century number (year divided by 100): C %d - day of month, single digits preceded by 0: 07 %D - date as mm/dd/yy: 7 %e - day of month, single digits preceded by space: e %h - locale's abbreviated month name: h %H - hour (24 hr clock), single digits preceded by 0: 23 %I - hour (12 hr clock), single digits preceded by 0: 11 %m - month, single digits preceded by 0: 08 %M - Minute (00,59), leading zero permitted but not required: 45 %n - insert a newline: n %p - locale's equivalent of either a.m. or p.m.: PM %r - appropriate time representation in 12-hour clock format with %p: r %R - time as hh:mm: R %S - seconds (00,59): 57 %t - insert a tab: t %T - time as hh:mm:ss: T %u - weekday as number (1,7) with Sunday as 1: u %U - week number of year (00,53), with Sunday as first day of week: 31 %V - week number of year (01,53), with Monday as first day of week: V %w - weekday as number (0,6), starting with Sunday: 5 %W - week number of year (00,53), with Monday as first day of week: 31 %x - locale's appropriate date representation: Aug 7 1998 %X - locale's appropriate time representation: 23:45:57 %y - year within century (00,99): 98 %Y - year, including century: 1998 %Z - time zone name or abbreviation: Remembering the Posix pod admonition to look at check the local os version of strftime, I also remembered I had an old copy of Think C/C++. Checking the documentation for it, I found it defined these formats: %a, %A, %b, %B, %c, %d, %H, %I, %j, %m, %M, %p, %S, %U, %w, %W, %x, %X, %y, %Y, and %Z. These correspond closely, though not exactly, with the formats that worked. Would the formats recognized by the MacPerl version of Posix::strftime depend on the C compiler used to build MacPerl? Any way to know what those formats are without having that particular compiler's documentation? Thanks! Andrew Robinson PS: While the formats used in the example I was trying are not defined in MacPerl, there certainly are enough formats available to do what I wanted. This ain't what I would call a high priority issue, just something I was curious to follow through on. ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch