apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@covalent.net>
Subject Re: More migration of code from httpd to apr-util
Date Fri, 08 Jun 2001 16:48:08 GMT

> > - date/time manipulation.
> >
> > at present, all i need to be able to do is get a
> > time_t and display it in a nice localtime format.
> > ripping code from httpd to do this is... uh.. silly?
> Submit a patch and I'll commit it into apr.  I think date and time stuff
> should be yanked out into apr-util.  I've already yanked out date.
> Submit something for time and I'll commit.  We can probably find some
> helpful dude with httpd commit access to remove those files from httpd
> entirely.

Ummmmm.....  apr_ctime takes an apr_time_t, and returns a formatted
string.  If you need more, apr_strftime allows you to define the format
for the string.

Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131

View raw message