Reference: time2str (Perl in a Nutshell)

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 17.3 The HTTP ModulesChapter 17
The LWP Library
Next: Reference: str2time
 

time2str

 time2str([time])

Given the number of seconds since machine epoch, this function generates the equivalent time as specified in RFC 1123, which is the recommended time format used in HTTP. When invoked with no parameter, the current time is used.


Previous: 17.3 The HTTP ModulesPerl in a NutshellNext: Reference: str2time
17.3 The HTTP ModulesBook IndexReference: str2time

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.