/PHP-5.3/ext/date/tests/ |
H A D | bug51393.phpt | 8 var_dump($dt->getOffset()); 11 var_dump($dt->getOffset()); 14 var_dump($dt->getOffset()); 17 var_dump($dt->getOffset()); 20 var_dump($dt->getOffset()); 23 var_dump($dt->getOffset()); 26 var_dump($dt->getOffset()); 29 var_dump($dt->getOffset()); 32 var_dump($dt->getOffset()); 35 var_dump($dt->getOffset()); [all …]
|
H A D | bug40743.phpt | 6 echo $dt->format(DATE_RFC822), "\n"; 7 echo $dt->format('T e Z'), "\n"; 12 $dt = new DateTime('16 Jan 08 13:04:59'); 13 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 15 $dt = new DateTime('@1200506699'); 16 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 18 $dt = new DateTime('@1200506699'); 20 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 23 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; 26 echo $dt->format(DATE_RFC822 . " e T O U"), "\n"; [all …]
|
H A D | bug52290.phpt | 9 $dt = new DateTime('@'.$ts); 10 $dt->setTimezone(new DateTimeZone($tz)); 12 var_dump($dt->format('o-\WW-N | Y-m-d | H:i:s | U')); 14 $dt->setISODate(2005, 52, 1); 15 var_dump($dt->format('o-\WW-N | Y-m-d | H:i:s | U')); 17 $dt->setDate(2007, 10, 10); 18 var_dump($dt->format('o-\WW-N | Y-m-d | H:i:s | U')); 20 $dt->setTime(20, 30, 40); 21 var_dump($dt->format('o-\WW-N | Y-m-d | H:i:s | U'));
|
H A D | bug54340.phpt | 9 $dt = new DateTime('first day of January 2011'); 10 var_dump($dt); 12 $dt->add($interval); 13 var_dump($dt); 15 $dt = new DateTime('first day of January 2011'); 17 $dt->sub($interval); 18 var_dump($dt);
|
H A D | bug54316.phpt | 7 $dt = DateTime::createFromFormat('Y-m-d|', '2011-02-02'); 8 var_dump($dt); 10 $dt = DateTime::createFromFormat('Y-m-d!', '2011-02-02'); 11 var_dump($dt);
|
H A D | bug52668.phpt | 10 foreach($dp as $dt) { 11 echo $dt->format('r') . "\n"; // Sun, 12 Dec 2010 00:00:00 +0100 14 foreach($dp as $dt) { 15 echo $dt->format('r') . "\n"; // Sun, 12 Dec 2010 00:00:00 +0100
|
H A D | date_period.phpt | 10 foreach ( new DatePeriod( $db, $di, $de ) as $dt ) 12 echo $dt->modify( "3 tuesday" )->format( "l Y-m-d\n" ); 21 foreach ( new DatePeriod( $db, $di, $de, DatePeriod::EXCLUDE_START_DATE ) as $dt ) 23 echo $dt->format( "l Y-m-d H:i:s\n" );
|
H A D | DateTime_data-spring-type2-type3.inc | 16 * + dt: daylight time on the transition day 2010-03-14 03:16:55 EDT 32 $end = new DateTime('2010-03-14 03:16:55'); // dt, zt3 52 $end = new DateTime('2010-03-14 03:16:55'); // dt, zt3 63 $start = new DateTime('2010-03-14 03:16:55 EDT'); // dt, zt2 68 $start = new DateTime('2010-03-14 03:16:55 EDT'); // dt, zt2 72 $end = new DateTime('2010-03-14 05:19:56'); // sp dt, zt3 73 $start = new DateTime('2010-03-14 03:16:55 EDT'); // dt, zt2 78 $start = new DateTime('2010-03-14 03:16:55 EDT'); // dt, zt2 92 $end = new DateTime('2010-03-14 03:16:55'); // dt, zt3
|
H A D | DateTime_data-spring-type3-type2.inc | 16 * + dt: daylight time on the transition day 2010-03-14 03:16:55 EDT 32 $end = new DateTime('2010-03-14 03:16:55 EDT'); // dt, zt2 52 $end = new DateTime('2010-03-14 03:16:55 EDT'); // dt, zt2 63 $start = new DateTime('2010-03-14 03:16:55'); // dt, zt3 68 $start = new DateTime('2010-03-14 03:16:55'); // dt, zt3 72 $end = new DateTime('2010-03-14 05:19:56 EDT'); // sp dt, zt2 73 $start = new DateTime('2010-03-14 03:16:55'); // dt, zt3 78 $start = new DateTime('2010-03-14 03:16:55'); // dt, zt3 92 $end = new DateTime('2010-03-14 03:16:55 EDT'); // dt, zt2
|
H A D | DateTime_data-spring-type3-type3.inc | 16 * + dt: daylight time on the transition day 2010-03-14 03:16:55 32 $end = new DateTime('2010-03-14 03:16:55'); // dt, zt3 52 $end = new DateTime('2010-03-14 03:16:55'); // dt, zt3 63 $start = new DateTime('2010-03-14 03:16:55'); // dt, zt3 68 $start = new DateTime('2010-03-14 03:16:55'); // dt, zt3 72 $end = new DateTime('2010-03-14 05:19:56'); // sp dt, zt3 73 $start = new DateTime('2010-03-14 03:16:55'); // dt, zt3 78 $start = new DateTime('2010-03-14 03:16:55'); // dt, zt3 92 $end = new DateTime('2010-03-14 03:16:55'); // dt, zt3
|
H A D | DateTime_data-spring-type2-type2.inc | 16 * + dt: daylight time on the transition day 2010-03-14 03:16:55 EDT 32 $end = new DateTime('2010-03-14 03:16:55 EDT'); // dt, zt2 52 $end = new DateTime('2010-03-14 03:16:55 EDT'); // dt, zt2 63 $start = new DateTime('2010-03-14 03:16:55 EDT'); // dt, zt2 68 $start = new DateTime('2010-03-14 03:16:55 EDT'); // dt, zt2 72 $end = new DateTime('2010-03-14 05:19:56 EDT'); // sp dt, zt2 73 $start = new DateTime('2010-03-14 03:16:55 EDT'); // dt, zt2 78 $start = new DateTime('2010-03-14 03:16:55 EDT'); // dt, zt2 92 $end = new DateTime('2010-03-14 03:16:55 EDT'); // dt, zt2
|
H A D | DateTime_data-fall-type2-type2.inc | 15 * + dt: daylight time on transition day 2010-11-07 00:10:20 EDT 29 $end = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 55 $start = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 60 $start = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 65 $start = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 70 $start = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 75 $start = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 80 $start = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 89 $end = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 119 $end = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 [all …]
|
H A D | DateTime_data-fall-type2-type3.inc | 29 $end = new DateTime('2010-11-07 00:10:20'); // dt, zt3 57 $start = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 61 $end = new DateTime('2010-11-07 00:15:35'); // sp dt, zt3 62 $start = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 68 $start = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 74 $start = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 79 $start = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 93 $end = new DateTime('2010-11-07 00:10:20'); // dt, zt3 125 $end = new DateTime('2010-11-07 00:10:20'); // dt, zt3 157 $end = new DateTime('2010-11-07 00:10:20'); // dt, zt3 [all …]
|
H A D | bug53437.phpt | 8 foreach($dp as $dt) { 9 echo $dt->format('Y-m-d H:i:s')."\r\n"; 21 foreach($dpu as $dt) { 22 echo $dt->format('Y-m-d H:i:s')."\r\n";
|
H A D | DateTime_data-fall-type3-type2.inc | 15 * + dt: daylight time on transition day 2010-11-07 00:10:20 EDT 29 $end = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 57 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 62 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 67 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 72 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 77 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 82 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 92 $end = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 128 $end = new DateTime('2010-11-07 00:10:20 EDT'); // dt, zt2 [all …]
|
H A D | bug48058.phpt | 13 $dt = date_create( "$base_time +10000000000 years" ); 14 echo date_format( $dt, DATE_ISO8601 );
|
H A D | DateTime_data-fall-type3-type3.inc | 15 * + dt: daylight time on transition day 2010-11-07 00:10:20 29 $end = new DateTime('2010-11-07 00:10:20'); // dt, zt3 57 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 62 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 68 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 74 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 79 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 84 $start = new DateTime('2010-11-07 00:10:20'); // dt, zt3 94 $end = new DateTime('2010-11-07 00:10:20'); // dt, zt3 132 $end = new DateTime('2010-11-07 00:10:20'); // dt, zt3 [all …]
|
H A D | bug41523-64bit.phpt | 11 var_dump( $dt = new DateTime('0000-00-00 00:00:00') ); 12 echo $dt->format( DateTime::ISO8601 ), "\n";
|
H A D | bug41523.phpt | 11 var_dump( $dt = new DateTime('0000-00-00 00:00:00') ); 12 echo $dt->format( DateTime::ISO8601 ), "\n";
|
H A D | bug53437_var4.phpt | 7 $dt = new DateTime('2009-10-11'); 9 $df = $dt->diff(new DateTime('2009-10-13'));
|
H A D | date_create-relative.phpt | 47 $dt = date_create("$base_time $direction$offset"); 48 echo "$direction$offset: " . date_format($dt, DATE_ISO8601) . "\n";
|
/PHP-5.3/ext/standard/ |
H A D | head.c | 81 char *dt; in php_setcookie() local 120 dt = php_format_date("D, d-M-Y H:i:s T", sizeof("D, d-M-Y H:i:s T")-1, 1, 0 TSRMLS_CC); in php_setcookie() 121 snprintf(cookie, len + 100, "Set-Cookie: %s=deleted; expires=%s", name, dt); in php_setcookie() 122 efree(dt); in php_setcookie() 128 dt = php_format_date("D, d-M-Y H:i:s T", sizeof("D, d-M-Y H:i:s T")-1, expires, 0 TSRMLS_CC); in php_setcookie() 130 p = zend_memrchr(dt, '-', strlen(dt)); in php_setcookie() 132 efree(dt); in php_setcookie() 138 strlcat(cookie, dt, len + 100); in php_setcookie() 139 efree(dt); in php_setcookie()
|
/PHP-5.3/win32/ |
H A D | sendmail.c | 707 char *dt = php_format_date("r", 1, tNow, 1 TSRMLS_CC); in PostHeader() local 709 snprintf(header_buffer, MAIL_BUFFER_SIZE, "Date: %s\r\n", dt); in PostHeader() 710 efree(dt); in PostHeader()
|
/PHP-5.3/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 24074 DATETIME dt; 24084 DosGetDateTime(&dt); 24085 dt.year = (USHORT)((dt.year - 1900) | c); 24086 memcpy(&zBuf[n], &dt, sizeof(dt)-3); 24087 n += sizeof(dt)-3; 24145 DATETIME dt; 24146 DosGetDateTime( &dt ); 24148 year = dt.year; 24149 month = dt.month; 24161 timepart = 12*3600*1000 + dt.hundredths*10 + dt.seconds*1000 + [all …]
|