Demo

current_time( ‘mysql’ ) returns local site time: 2024-11-13 10:53:11
current_time( ‘mysql’, 1 ) returns GMT: 2024-11-13 18:53:11
current_time( ‘timestamp’ ) returns local site time: 2024-11-13 10:53:11
current_time( ‘timestamp’, 1 ) returns GMT: 2024-11-13 18:53:11