Time Namespace Reference

Functions

const char * FormatStrf (time_t t)
 
const char * FormatHttpd (time_t t)
 

Function Documentation

◆ FormatHttpd()

const char * Time::FormatHttpd ( time_t  t)

Display time as a formatted human-readable string. Time string syntax used is that of Apache httpd. "DD/MMM/YYYY:hh:mm:ss zzzz"

Output is only valid until next call to this function.

Definition at line 111 of file time.cc.

References buf, and len.

Referenced by ErrorState::compileLegacyCode(), dump_peers(), Log::Format::HttpdCombined(), Log::Format::HttpdCommon(), send_announce(), and Log::Format::SquidUserAgent().

◆ FormatStrf()

const char * Time::FormatStrf ( time_t  t)

Display time as a formatted human-readable string. Time syntax is "YYYY/MM/DD hh:mm:ss"

Output is only valid until next call to this function.

Definition at line 95 of file time.cc.

References buf.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors