WP has its function to get the current time

time() <=> current_time(  'timestamp' );
get GMT timestamp

use 2nd param of current_time() to
Merge pull request #28 from TweetPressFr/patch-1

WP has its function to get the current time.

Internally, current_time( 'timestamp', 1 ) just calls time() (so we make a function call that's not really necessary), but ok I agree let's do it the WordPress way :)
Thanks Julien!