![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 2 Pomógł: 0 Dołączył: 17.05.2014 Ostrzeżenie: (0%) ![]() ![]() |
Witajcie,
Chciałbym uzyskać pomoc w przetłumaczeniu wyświetlanej daty. Próbowałem już na wiele sposobów, jednakże żaden nie działa odpowiednio. Kod function current_time_fixed( $type, $gmt = 0 ) { $t = ( $gmt ) ? gmdate( 'Y-m-d H:i:s' ) : gmdate( 'Y-m-d H:i:s', ( time() + ( get_option( 'gmt_offset' ) * 3600 ) ) ); switch ( $type ) { case 'mysql': return $t; break; case 'timestamp': return strtotime($t); break; } } Pozdrawiam |
|
|
![]() ![]() |
![]() |
Aktualny czas: 21.08.2025 - 22:52 |