At 08:19 PM 4/26/02, you wrote: >how to get current year,month,day? thx Look into the time tag: http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=ictags04.75 And for all the different "POSIX strftime arguments" to pass to it try the man pages or check out: http://www.gnu.org/manual/glibc-2.2.3/html_node/libc_427.html ( in the section dealing with strftime ) Kyle Cook