爱咋咋地
分类: LINUX
2009-11-06 19:24:29
strftime is the Standard C library date formatting routine. An date can be formatted with it: #include
This example is a (that spec has been superseded by which references for Expires, which points to RFC 1123) expiry time.
Provided with no warranty by
notes: a lot of people don't think this code is quite right... they may be correct. It does compile and run; some of these routines are deprecated. Last modified at time_t 1163178746 (GMT). For email, see and note the differences in time-zones, but RFC 1123 says "should use numeric zones". YMMV
This page is placed in the Public Domain