Get system timestamp in wordpress

You can use PHP’s date() function here, but usually first you’ll need to run date_default_timezone_set. UTC+1 looks like Central Europe time from what I can tell, so here’s what I’d run:

<?php
date_default_timezone_set('Europe/Berlin');
echo date( 'D, d M Y H:i:s', now() );
?>

That will print out the current time from your server.

If you’re looking to print out a timestamp from a post, you can use get_post_time and print replace the now() function. Looks like this:

<?php
date_default_timezone_set('Europe/Berlin');
echo date( 'D, d M Y H:i:s', get_post_time('U', true) );
?>