>From the manual page:
"The time argument must specify the date and time as the number of seconds since
00:00:00 UTC, January 1, 1970. You can use the ns_time function to get the current
time in this format."
The time format used by AOLServer is a common UNIX format, often called "Posix time",
"time_t" or "ctime". You can retrieve this time by using the built-in Tcl command
"clock seconds" as well.
thomas
> -----Original Message-----
> From: Prakash Sinha [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 26, 2001 5:16 PM
> To: [EMAIL PROTECTED]
> Subject: [AOLSERVER] Format Date
>
>
> I want to format date into Thu04/26
> set iDate "20010426"
> ns_fmttime "$iDate" "%a%m/%d"
>
> It seems it does not work it returns me Thu08/20
> Any idea?????????
>
> Prakash
>