Lines Matching refs:format
63 self::assertSame('17', $timestamp->format('d'));
64 self::assertSame('Sun', $timestamp->format('D'));
65 self::assertSame('17', $timestamp->format('j'));
66 self::assertSame('Sunday', $timestamp->format('l'));
67 self::assertSame('7', $timestamp->format('N'));
68 self::assertSame('th', $timestamp->format('S'));
69 self::assertSame('0', $timestamp->format('w'));
70 self::assertSame('350', $timestamp->format('z'));
71 self::assertSame('50', $timestamp->format('W'));
72 self::assertSame('December', $timestamp->format('F'));
73 self::assertSame('12', $timestamp->format('m'));
74 self::assertSame('Dec', $timestamp->format('M'));
75 self::assertSame('12', $timestamp->format('n'));
76 self::assertSame('31', $timestamp->format('t'));
77 self::assertSame('0', $timestamp->format('L'));
78 self::assertSame('2023', $timestamp->format('o'));
79 self::assertSame('2023', $timestamp->format('Y'));
80 self::assertSame('23', $timestamp->format('y'));
81 self::assertSame('pm', $timestamp->format('a'));
82 self::assertSame('PM', $timestamp->format('A'));
83 self::assertSame('723', $timestamp->format('B'));
84 self::assertSame('4', $timestamp->format('g'));
85 self::assertSame('16', $timestamp->format('G'));
86 self::assertSame('04', $timestamp->format('h'));
87 self::assertSame('16', $timestamp->format('H'));
88 self::assertSame('21', $timestamp->format('i'));
89 self::assertSame('19', $timestamp->format('s'));
90 self::assertSame('000000', $timestamp->format('u'));
91 self::assertSame('UTC', $timestamp->format('e'));
92 self::assertSame('0', $timestamp->format('I'));
93 self::assertSame('+0000', $timestamp->format('O'));
94 self::assertSame('+00:00', $timestamp->format('P'));
95 self::assertSame('UTC', $timestamp->format('T'));
96 self::assertSame('0', $timestamp->format('Z'));
97 self::assertSame('2023-12-17T16:21:19+00:00', $timestamp->format('c'));
98 self::assertSame('Sun, 17 Dec 2023 16:21:19 +0000', $timestamp->format('r'));
99 self::assertSame('1702830079', $timestamp->format('U'));