Deleted Added
full compact
strftime.3 (73088) strftime.3 (74412)
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the American National Standards Committee X3, on Information
6.\" Processing Systems.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE.
35.\"
36.\" @(#)strftime.3 8.1 (Berkeley) 6/4/93
1.\" Copyright (c) 1989, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the American National Standards Committee X3, on Information
6.\" Processing Systems.
7.\"
8.\" Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34.\" SUCH DAMAGE.
35.\"
36.\" @(#)strftime.3 8.1 (Berkeley) 6/4/93
37.\" $FreeBSD: head/lib/libc/stdtime/strftime.3 73088 2001-02-26 13:23:47Z ru $
37.\" $FreeBSD: head/lib/libc/stdtime/strftime.3 74412 2001-03-18 11:58:15Z ache $
38.\"
39.Dd October 4, 1997
40.Dt STRFTIME 3
41.Os
42.Sh NAME
43.Nm strftime
44.Nd format date and time
45.Sh LIBRARY

--- 34 unchanged lines hidden (view full) ---

80.Pp
81The conversion specifications are copied to the buffer after expansion
82as follows:-
83.Bl -tag -width "xxxx"
84.It Cm \&%A
85is replaced by national representation of the full weekday name.
86.It Cm %a
87is replaced by national representation of
38.\"
39.Dd October 4, 1997
40.Dt STRFTIME 3
41.Os
42.Sh NAME
43.Nm strftime
44.Nd format date and time
45.Sh LIBRARY

--- 34 unchanged lines hidden (view full) ---

80.Pp
81The conversion specifications are copied to the buffer after expansion
82as follows:-
83.Bl -tag -width "xxxx"
84.It Cm \&%A
85is replaced by national representation of the full weekday name.
86.It Cm %a
87is replaced by national representation of
88the abbreviated weekday name, where the abbreviation
89is the first three characters.
88the abbreviated weekday name.
90.It Cm \&%B
91is replaced by national representation of the full month name.
92.It Cm %b
93is replaced by national representation of
89.It Cm \&%B
90is replaced by national representation of the full month name.
91.It Cm %b
92is replaced by national representation of
94the abbreviated month name, where the abbreviation is
95the first three characters.
93the abbreviated month name.
96.It Cm \&%C
97is replaced by (year / 100) as decimal number; single
98digits are preceded by a zero.
99.It Cm %c
100is replaced by national representation of time and date.
94.It Cm \&%C
95is replaced by (year / 100) as decimal number; single
96digits are preceded by a zero.
97.It Cm %c
98is replaced by national representation of time and date.
101The format is similar to that produced by
102.Xr ctime 3
103and is
104equivalent to "%a %Ef %T %Y".
105It also implies the
106"3+1+6+1+8+1+4" format of output.
107.It Cm \&%D
108is equivalent to
109.Dq Li %m/%d/%y .
110.It Cm %d
111is replaced by the day of the month as a decimal number (01-31).
112.It Cm \&%E* Cm \&%O*
113POSIX locale extensions.
114The sequences

--- 6 unchanged lines hidden (view full) ---

121Additionly %Ef implemented to represent short month name / day
122order of the date, %EF to represent long month name / day
123order
124and %OB to represent alternative months names
125(used standalone, without day mentioned).
126.It Cm %e
127is replaced by the day of month as a decimal number (1-31); single
128digits are preceded by a blank.
99.It Cm \&%D
100is equivalent to
101.Dq Li %m/%d/%y .
102.It Cm %d
103is replaced by the day of the month as a decimal number (01-31).
104.It Cm \&%E* Cm \&%O*
105POSIX locale extensions.
106The sequences

--- 6 unchanged lines hidden (view full) ---

113Additionly %Ef implemented to represent short month name / day
114order of the date, %EF to represent long month name / day
115order
116and %OB to represent alternative months names
117(used standalone, without day mentioned).
118.It Cm %e
119is replaced by the day of month as a decimal number (1-31); single
120digits are preceded by a blank.
121.It Cm \&%F
122is equivalent to
123.Dq Li %Y-%m-%d .
129.It Cm \&%G
130is replaced by a year as a decimal number with century.
131This year is the one that contains the greater part of
132the week (Monday as the first day of the week).
133.It Cm %g
134is replaced by the same year as in
135.Dq Li %G ,
136but as a decimal number without century (00-99).

--- 129 unchanged lines hidden ---
124.It Cm \&%G
125is replaced by a year as a decimal number with century.
126This year is the one that contains the greater part of
127the week (Monday as the first day of the week).
128.It Cm %g
129is replaced by the same year as in
130.Dq Li %G ,
131but as a decimal number without century (00-99).

--- 129 unchanged lines hidden ---