[ Previous ] [ Contents ] [ Index ] [ Next ]

Ns_HttpTime

Overview

Return a formatted time string

Syntax

    char *Ns_HttpTime(
    	Ns_DString *pds
    	time_t     *when
    );

Description

The Ns_HttpTime function converts given time to the appropriate format for an HTTP header or log file. If when is NULL, the function returns a string containing the current time. The formatted time string is appended to the specified Ns_DString (pds).

Top of Page

[ Previous ] [ Contents ] [ Index ] [ Next ]
Copyright © 1996 America Online, Inc.